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

#1 2011-11-30 04:32:06

Rifkat
New Scratcher
Registered: 2011-11-25
Posts: 9

How can you make something gravity?

Answer question above

Offline

 

#2 2011-12-01 10:23:51

Freakish
Scratcher
Registered: 2011-10-25
Posts: 1000+

Re: How can you make something gravity?

Here's a really simple way of jumping vertically.

http://i.imgur.com/H1mYO.png

smile


http://i.imgur.com/y3RBV.jpg

Offline

 

#3 2011-12-02 06:03:47

Rifkat
New Scratcher
Registered: 2011-11-25
Posts: 9

Re: How can you make something gravity?

Thanks!

Offline

 

#4 2011-12-04 06:21:47

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: How can you make something gravity?

This tutorial says how to make realistic gravity using a variable called 'Y velocity'. It even says how to make it bounce as well! If you want to see it being used in an actual game, my project 'Keep It Up!' uses it effectively.
Also, in future, please use the 'All About Scratch' forum to post questions asking for help in your projects.  smile

Last edited by RedRocker227 (2011-12-04 06:22:34)


Why

Offline

 

#5 2011-12-04 07:15:37

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: How can you make something gravity?

Or, you can look at thisbig_smile


Why

Offline

 

#6 2011-12-04 18:38:55

Freakish
Scratcher
Registered: 2011-10-25
Posts: 1000+

Re: How can you make something gravity?

Rifkat wrote:

Thanks!

Sure thing!  smile


http://i.imgur.com/y3RBV.jpg

Offline

 

#7 2011-12-04 20:45:14

nightmarescratcher
Scratcher
Registered: 2011-10-10
Posts: 1000+

Re: How can you make something gravity?

Isn't this... in the wrong place?


http://fc07.deviantart.net/fs70/f/2011/171/f/3/derpy_hooves_derp_sig_by_alicehumansacrifice1-d3jg613.png

Offline

 

#8 2011-12-06 00:19:12

connerianderson
Scratcher
Registered: 2010-06-07
Posts: 2

Re: How can you make something gravity?

<when green flag clicked><forever><change{ y }by(-1
<when green flag clicked><forever><change y by(y
<when green flag clicked> <forever><if><touching[edge<set{ y }to(11

Offline

 

Board footer