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

#1 2012-10-05 15:05:40

THEMONKEYBLASTER9
New Scratcher
Registered: 2012-10-05
Posts: 3

how to make gravity

i would like to know how to make gravity because i need to make my guy not go up into the clouds and i want him to jump up and down.

Thanks

Offline

 

#2 2012-10-05 21:51:54

awesomeness321
Scratcher
Registered: 2012-08-10
Posts: 100+

Re: how to make gravity

A simple gravity script would be:

when gf clicked
forever
if <key [up arrow v] pressed?>
if <touching color [#000000]?>
repeat (15)//About 15
change y by (5)
end
repeat (15)
change y by (-5)

Last edited by awesomeness321 (2012-10-05 21:52:07)


My newest project:http://blocks.scratchr.org/API.php?user=awesomeness321&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1Color:#30F9A5 I am currently http://blocks.scratchr.org/API.php?user=awesomeness321&amp;action=onlineStatus&amp;type=text

Offline

 

#3 2012-10-05 21:53:10

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: how to make gravity


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

Board footer