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

#1 2010-05-16 19:41:52

meowmix111
Scratcher
Registered: 2010-04-17
Posts: 1

games

How do you make it so you can jump and land on platforms in your game?

Offline

 

#2 2010-05-17 02:34:08

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: games

Use a simple script that will move the sprite's Y up, and then down until the sprite senses the ground. Like this:

http://img196.imageshack.us/img196/8872/193jumpingscriptwithafa.png

If you want velocity, use this:

http://img98.imageshack.us/img98/9899/194jumpingscriptwithafa.png

Any questions?

Last edited by Jonathanpb (2010-05-17 02:35:56)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

Board footer