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

#1 2012-03-08 15:51:34

CoolGamesCY
New Scratcher
Registered: 2012-03-03
Posts: 15

Help with Jumping!

Well here's a screenshot of the script which is suppose to make a jumping effect and the gravity but it doesn't work so please help!

http://tinypic.com/view.php?pic=2s6lvfk&s=5

Offline

 

#2 2012-03-09 11:12:32

CoolGamesCY
New Scratcher
Registered: 2012-03-03
Posts: 15

Re: Help with Jumping!

wow please help!

Offline

 

#3 2012-03-10 11:59:15

MistralWing
Scratcher
Registered: 2012-02-17
Posts: 43

Re: Help with Jumping!

It looks overly complicated: gravity-in my opinion-doesn't need a variable to work well.
The script I use is much simpler and gives me good gravity:

--Forever if not touching (colour grey)?
-repeat until touching (colour grey)?
change y position by (minus 8:for example,but it depends on how strong you want your gravity to be)

Bear in mind that if the gravity's too strong,you might end up going through the ground instead of landing on it.

Offline

 

Board footer