How do I make a player move a specific coordinate distance every single button press
FlyboyTrevy_
Member, PRO Posts: 148
Title says all. I would like the player to move a specific distance of 58 degrees along the y axis every time a button press is made. There is a move to and move command, but does anyone know how you would do this?
Comments
Basically i want it to move on a grid up and down. So every time you press up it moves up to the next grid row, and again and again, or every time you press down it moves down to the grid row below it.
Ok so I actually figured it out, using the move to command multiple times and a series of "if" attributes did the trick. But now it will randomly just go sailing off the screen occasionally when moving it around.
Please don't post the same question in multiple threads. Also, the Mac and Windows versions of GameSalad are similar enough that posting in either thread will generally result in answers applicable to both platforms.
You'll want to use a rule that limits movement to when the actor is not currently moving.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User