What type of gravity do you want? There's gravity with velocity, simple falling scripts, and more.
Offline
make a variable called, JUMPING. Your gravity script should be:
GreenFlag Clicked,
Foreverif not touching color[] and jumping=0
change y by -2
and jumping should be:
When Green Flag clicked
Forever If touching color[] and Key [Up] pressed?
Set Jump to 1
repeat 10 times, Change y by 4
Set jump to 0
You should be able to use this script.
Offline
Last edited by Ace-of-Spades (2010-02-12 15:34:26)
Offline