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

#1 2009-10-17 09:34:06

waterbuddy16
Scratcher
Registered: 2009-08-18
Posts: 25

gravity

how can you get gravity right. it's easy but then how can you make it so when you go to the side of that color or sprite you don't go upwards?


http://img21.imageshack.us/img21/9258/awesomepu.gif The pentagon approves of my awesomeness. It doeshttp://dragcave.net/image/u9Sn.gifhttp://dragcave.net/image/mHJD.gif

Offline

 

#2 2009-10-17 09:36:27

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: gravity

I know archmage has some tutorials... http://scratch.mit.edu/projects/archmage/72848

Last edited by The-Whiz (2009-10-17 09:37:36)

Offline

 

#3 2009-10-17 09:39:48

waterbuddy16
Scratcher
Registered: 2009-08-18
Posts: 25

Re: gravity

thanks but I'm looking for something like when you go to the bottom of a sprite you bounce down or if you touch the side of a sprite you can't go through


http://img21.imageshack.us/img21/9258/awesomepu.gif The pentagon approves of my awesomeness. It doeshttp://dragcave.net/image/u9Sn.gifhttp://dragcave.net/image/mHJD.gif

Offline

 

#4 2009-10-17 09:41:40

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: gravity

Archmage also has a project on that  smile

http://scratch.mit.edu/projects/archmage/101212

Download that, and look at the scripts  smile 
It's how I learnt how to make proper walls etc:

Last edited by 06dknibbs (2009-10-17 09:44:19)


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

#5 2009-10-17 09:48:33

waterbuddy16
Scratcher
Registered: 2009-08-18
Posts: 25

Re: gravity

thanks but how did he make the [{hit test} of right hit test] block how does he get the hit test? if i have a new project and scroll down on that box there's no hit test?


http://img21.imageshack.us/img21/9258/awesomepu.gif The pentagon approves of my awesomeness. It doeshttp://dragcave.net/image/u9Sn.gifhttp://dragcave.net/image/mHJD.gif

Offline

 

#6 2009-10-17 10:28:09

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: gravity

Those hit tests are seperate sprites  smile

I would suggest exporting all the sprites in that projects, and then changing the costumes.


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

#7 2009-10-17 10:57:55

waterbuddy16
Scratcher
Registered: 2009-08-18
Posts: 25

Re: gravity

http://imgcash3.imageshack.us/Himg18/scaled.php?server=18&filename=96896959.png&xsize=640&ysize=480

what is that hitTest thingy and how do you get it not the one on the right.

Last edited by waterbuddy16 (2009-10-17 10:58:18)


http://img21.imageshack.us/img21/9258/awesomepu.gif The pentagon approves of my awesomeness. It doeshttp://dragcave.net/image/u9Sn.gifhttp://dragcave.net/image/mHJD.gif

Offline

 

#8 2009-10-20 19:19:51

flamingtoaster
Scratcher
Registered: 2009-06-27
Posts: 6

Re: gravity

smile   smile   smile

Offline

 

#9 2009-10-21 07:31:24

pmpavc
Scratcher
Registered: 2009-10-21
Posts: 51

Re: gravity

Up~~~!!

Offline

 

Board footer