Move a specific distance

jamie_cjamie_c ImagineLabs.rocksMember, PRO Posts: 5,772
edited November -1 in Working with GS (Mac)
Hi All,

I'm new to gamesalad and have probably a pretty basic question. How would I make a character move a specific distance when a key is pressed?

For example I've look at the How Tos and done some of the movement stuff so I can move a character smoothly around the screen by following some of the information there.

But what I really want is this kind of movement.

If I press the 'up' arrow once I want my character to move exactly 100 pixels up the screen and stop.

Then if I press the 'left' arrow I want the character to move exactly 100 pixels to the left, etc.

I don't want the character to jump to the new spot, but move/slide to it.

Thanks in advance.
Jamie

Comments

Sign In or Register to comment.