How to move an actor left and right with a button
swiftskater1
Member Posts: 97
i have a button. And when i press that button i want him to move right. how would i do this?
I asked this awhile back.
I asked this awhile back.
Comments
In that button actor make the rule:
Rule: If Actor Recieves Event, touch, pressed
--Change Attribute: game.ButtonPressedRight = true
Otherwise:
--Change Attribute: game.ButtonPressedRight = false
In your moving actor make a rule that checks if the game.ButtonPressedRight is true
--Move: Direction 0,
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
i create a example for you !!!
download project here : http://gamesalad.com/game/play/33166
By By Luke