im trying to make a stick platform game but i can get the movements right.
i know how to make a sprite move but it just stays suspended in the same spot.
how can i make to when i move the sprite it falls back to the ground.
Offline
If you want to start with the basics, this is fine:
You can change the -3 to make your sprite fall faster or slower.
Or if you want smoother but more complex, try this:
Last edited by Kileymeister (2011-06-23 21:59:30)
Offline
thank you! i really needed help on that!
Offline
also,how can you make a sprite shoot something(lasers,bullets,etc)
Offline
First, make the bullet a sprite. Let's say the space key is your shooting key. Then, make this script for it:
[blocks]<when green flag clicked>
<hide>
<repeat until key[ space ]pressed?>
<wait( 1 )secs>
<go to[ Player ]
<end>[blocks]
<if<key[ space ]pressed?>>
<show>[/blocks]
<repeat( 10 ).
<move( 5 )steps>
<wait( 0.1 )secsc>
<end>[/blocks]
Sorry this looks weird, I'm not good with the blocks on the forums.
Last edited by PlutoIsHades (2011-07-01 20:08:17)
Offline