This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-06-23 21:55:20

gunblade10
New Scratcher
Registered: 2011-06-23
Posts: 3

how to make a platform game

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

 

#2 2011-06-23 21:59:10

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: how to make a platform game

If you want to start with the basics, this is fine:
http://i55.tinypic.com/fxtdnr.gif
You can change the -3 to make your sprite fall faster or slower.

Or if you want smoother but more complex, try this:
http://i56.tinypic.com/345zked.gif

Last edited by Kileymeister (2011-06-23 21:59:30)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#3 2011-06-23 22:02:04

gunblade10
New Scratcher
Registered: 2011-06-23
Posts: 3

Re: how to make a platform game

thank you! i really needed help on that!

Offline

 

#4 2011-06-23 22:11:10

gunblade10
New Scratcher
Registered: 2011-06-23
Posts: 3

Re: how to make a platform game

also,how can you make a sprite shoot something(lasers,bullets,etc)

Offline

 

#5 2011-07-01 20:04:36

PlutoIsHades
Scratcher
Registered: 2010-10-18
Posts: 1000+

Re: how to make a platform game

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)


Minecraft, Redwall, and Cyberchase fan, and PROUD.

Offline

 

Board footer