what is the best way to move actor with arrows
rdcube
Member Posts: 361
I've seen a couple of demos where you can control an actor with arrows to move up, down, left & right.
some of them utilize a boolean, some text, some integer, etc.
I know some will say, use whatever works for you, but we all know that performance is critical in this beta...
any recommendations?
some of them utilize a boolean, some text, some integer, etc.
I know some will say, use whatever works for you, but we all know that performance is critical in this beta...
any recommendations?
Comments
So in a button actor
rule
when touch is pressed
change game.left to true
otherwise change game.left to false
then in moving actor
when game.left = 1
move
like when left and shoot? or when left down and shoot? and so on?
I tried the text and it seemed to do ok, but it was mainly because of the template provided by gs.