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

#26 2011-12-10 11:26:15

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

Re: How to simulate gravity (tutorial)

BOBBYBOB3 wrote:

Oh! Maybe I DID mess up! Considering I'm new to this, probably!
                                                                                        BOBBYBOB3.  smile

It doesn't matter, I made loads of REALLY embarrassing mistakes when I first joined! .__.


Why

Offline

 

#27 2011-12-10 13:09:25

Medic
Scratcher
Registered: 2011-09-10
Posts: 1000+

Re: How to simulate gravity (tutorial)

This tutorial is great!  smile

I used the script to make the character jump in this game, but one problem - The arms won't follow. I've attempted to figure it out but all that happens is that the arms stay suspended in the air. :S

Some help would be appreciated, and it could also help other Scratchers with the same idea.  smile


http://i43.tinypic.com/zm1pie.png

Offline

 

#28 2011-12-10 18:18:49

Medic
Scratcher
Registered: 2011-09-10
Posts: 1000+

Re: How to simulate gravity (tutorial)

Medic wrote:

This tutorial is great!  smile

I used the script to make the character jump in this game, but one problem - The arms won't follow. I've attempted to figure it out but all that happens is that the arms stay suspended in the air. :S

Some help would be appreciated, and it could also help other Scratchers with the same idea.  smile

Bump  wink


http://i43.tinypic.com/zm1pie.png

Offline

 

#29 2011-12-11 09:59:43

Medic
Scratcher
Registered: 2011-09-10
Posts: 1000+

Re: How to simulate gravity (tutorial)

Also, how do you make gravity for a non-playable object? Like for example you want to pick up a box and then be able to put it back down. How would that work? Mouse down instead of arrow key pressed?  neutral


http://i43.tinypic.com/zm1pie.png

Offline

 

#30 2011-12-11 16:52:01

johnny9822
Scratcher
Registered: 2011-11-27
Posts: 87

Re: How to simulate gravity (tutorial)

Interesting thing I noticed. If you set the else Y-velocity to 1 instead of -1, you're sprite floats up, like a balloon!  smile

Offline

 

Board footer