hey, i was wandering how can you tel your script to do something when you release a key. i would find this useful when walking. i want to make my game so when you hold the right arrow key down it changes the costume. then, when the right arrow key is released, it changes to the original costume. sort of like a while loop.
thanks in advance.
P.S. i have tried usinf forever if and repeat until but they don't work.
Last edited by Nabster (2007-05-26 12:36:06)
Offline
forever if arrow key pressed
change costume
wait until not arrow key pressed
change costume
Offline
whoops. forgot to say that the sprite is moving aswell. with the way you told me i havwe to press right,right,right,right to get anywhere when i want a steady walk.
EDIT: never mind i can use repeat until for this. sorry
Last edited by Nabster (2007-05-26 13:42:19)
Offline