HOW TO MAKE FORWARD AND BACKWARD BUTTONS!!!!
Etien
Member Posts: 4
I am making an iPhone game and you have to press some buttons to roll right or roll left. However, I have NO IDEA how to make buttons that when pressed, change the speed or velocity of OTHEr actors. PLEASE HELP!!!!
Comments
One method would be to have Global Attributes, let's call them left and right.
Put this rule in the buttons:
If actor receives event Touch Is Pressed
Change Attribute game.left to true
Otherwise:
Change attribute left to false
Put the same rule for the right button, but obviously change left to right.
Then in any actor that you want to move
When attribute game.Left is true
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User