Hi guys,
I know how to make sprites move (however) many steps depending on what arrow key is pressed, but here i am in a tricky situation.
I'm trying to make a character do the above, but when i program it to do so and then test it every time I press any arrow key he rotates (i don't want it to rotate) and then moves (however) many steps.
Now I know what the problem is, it's the point in direction block in the Motion section. But I can't get around it. Can Anyone help me with an answer?
Thanks
Last edited by Technic20 (2008-08-13 15:59:14)
Offline
you can use the
change x by ( )
and
change y by ( )
blocks. It has the same effect and doesn't require you to point in a direction. To move left and down, just use negative numbers. If you only want them to point left and right, you can press the <--> button next to the sprite info above the script pane, and then your sprite will only point left/right.
Offline