How do I make it the sprite only moves one step when I press a direction? Because if I press a direction it keeps going on without stopping.
If you're using the D&D coding, make 2 new events, released(Left) and released(Right), in your characers object.
Then in the release(Left) event drag and drop a "Execute a Piece of Code" from the control tab. Then double click it. Now in it type:
sprite_index="name_of_sprite_standing_left_without_these_quotes"
...for the right its basically the same.
Then in the release(Right) event drag and drop a "Execute a Piece of Code" from the control tab. Then double click it. Now in it type:
sprite_index="name_of_sprite_standing_right_without_these_quotes"
Example:
sprite_index=Mario_Standing_Left
Names dont have to be so complicated but it helps you know what sprite you want to use.
cant it be done with simple commands? Because I dont know any code and it's gonna be a pain in the ass to work with them
Yes it can. Give me a sec.
(sorry for double post)
Here you go. Look at the examples in that winrar. They use basic commands to help you understand what you need to do.
Hope it helps. :D
Sure will, thanks mate
Quote from: Stephen on June 04, 2007, 07:15:16 PM
(sorry for double post)
Here you go. Look at the examples in that winrar. They use basic commands to help you understand what you need to do.
Hope it helps. :D
Edit button, Stevoh.
I know, but he probably wouldnt have seen that I added the attachment. Anyways sorry. XD
'S all right, I suppose. I like you anyway. ;8
:huge: