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

#1 2007-10-24 20:09:32

BoardingSchool23
Scratcher
Registered: 2007-10-22
Posts: 4

gravitation project HELP!

ok so im new with the program and for my project (its a simple project to help us get started with this program) i want to make an animal look like its levitating.  any ideas??? i have no idea how this program works so any help will be great!  smile  THANKS!  big_smile

Offline

 

#2 2007-10-24 23:20:23

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: gravitation project HELP!

I'm not sure what you want to have happen.  Since you can move objects wherever you want, having them ignore gravity (levitate) is easy.  It is actually harder to make them look like they *are* affected by gravity.

Offline

 

#3 2007-10-25 05:51:20

natalie
Scratch Team
Registered: 2007-03-07
Posts: 100+

Re: gravitation project HELP!

Are you looking for something like the beginning of my Magic Carpet project?

http://scratch.mit.edu/projects/natalie/2681

Offline

 

#4 2007-10-25 05:56:25

natalie
Scratch Team
Registered: 2007-03-07
Posts: 100+

Re: gravitation project HELP!

For that kind of levitating effect, you can use something like:

[blocks]
<repeat( 20
<wait( .2  seconds
<change y by( 1
<wait( .2 seconds
<change y by( -1
[/blocks]

You can see on my project I used forever instead of repeat to keep it going forever. I'll be interested to hear what you decide to make.

Offline

 

#5 2007-10-25 15:18:11

EdnaC
Scratcher
Registered: 2007-08-28
Posts: 100+

Re: gravitation project HELP!

Lots of folks would be happy to help, but, as Kevin pointed out, you'll need to describe what "levitating" should look like. 

I would imagine that having a sprite move up and down slowly between two levels would look like levitation, do you want it to move left/right as well?  Do you want the user to be able to control the  motion in any way?

Does this demo come close to what you want?

http://scratch.mit.edu/projects/EdnaC/48211

Last edited by EdnaC (2007-10-26 09:22:09)

Offline

 

#6 2007-10-25 19:25:27

Vanslar
Scratcher
Registered: 2007-03-17
Posts: 100+

Re: gravitation project HELP!

try mine, its below


  I am a royal pain in the butt, I am ~Vanslar~       
      Want better gravity? Go to
Realistic Gravity, By Vanslar 2-D
Want a better way to spend your spare time? CubeField

Offline

 

#7 2007-10-29 20:32:04

BoardingSchool23
Scratcher
Registered: 2007-10-22
Posts: 4

Re: gravitation project HELP!

thanks for the help!  smile
after reviewing and watching how ppl did their levitations, im getting mine  smile
im making him glide and then im working on making the hippo look like hes flying.  smile
THANK YOU EVERYONE!  big_smile
if i need more help ill make sure to ask  smile

Offline

 

Board footer