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

#1 2012-03-10 13:02:11

MP-R
New Scratcher
Registered: 2012-03-09
Posts: 14

How to make gravity on Scratch?

How do you make gravity on scratch? Does it depend on each different game you make? Thankyou!

Offline

 

#2 2012-03-10 13:08:15

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: How to make gravity on Scratch?


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#3 2012-03-10 14:11:00

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: How to make gravity on Scratch?

The script does depend on what type of method you want.  You can make the ground its own color, but this can interfere with the graphics of the game.  You can make the ground a sprite, your can use a "sensing costume", or "motion sensing" (I might have just coined that term xD )


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#4 2012-03-18 02:03:05

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: How to make gravity on Scratch?

http://scratch.mit.edu/forums/viewtopic … 8#p1174788 Has a good script on it. It was used in my sig if you want an example.

Last edited by chanmanpartyman (2012-03-18 13:03:31)

Offline

 

#5 2012-03-18 17:14:55

turkey3
Scratcher
Registered: 2011-12-04
Posts: 500+

Re: How to make gravity on Scratch?

Is it just me or are there so many gravity topics? I just saw 3 right next to each other. Anyway, go with chammanparty's link.

Offline

 

#6 2012-03-23 16:25:20

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: How to make gravity on Scratch?

turkey3 wrote:

Is it just me or are there so many gravity topics? I just saw 3 right next to each other. Anyway, go with chammanparty's link.

Lol, you can call me cmpm  tongue

Offline

 

#7 2012-03-23 16:42:43

ftf841
Scratcher
Registered: 2012-02-19
Posts: 1000+

Re: How to make gravity on Scratch?

when gf clicked
forever
if <not <<touching [ground v]> >
change y by (-something)

Last edited by ftf841 (2012-03-24 19:41:59)


http://mag.racked.eu/cimage/i9002/Achievement++get%21/Hi+there./mca.png
http://mag.racked.eu/mcimage/i354/Achievement++get%21/CAKE%21%21%21%21%21/mca.png

Offline

 

Board footer