Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Great , I'm Zek I know only Java , Html , JavaScript , I know python but not properly , you can make a AI system through variables , Like 

onclick move-right

var move = 1

if move == 1

then

Code For moving your Object

onclick move-left

var move =2

if move == 2

Code for moving your Object


Sorry for coding Roughly

Hi ReKuZa Studio. Thanks for the reply.  No worries, I'm a total newb when it comes to programming. Doing a lot of it through tutorials and forum posts I've found online. What do you mean by onclick in that rough code? It's not for a player character correct?

on click on a input like forward , enter , left , right in keyboard