Make a game attribute(boolean). Call it ButtonPressedRight
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,
create a layer and uncheck the scroll box. Then no matter what the size of you scene is put your buttons in place as if the scene is only 480x320 and they will stay where you want them as long as they are on that non scrolling layer.
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