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

#1 2010-05-19 05:01:06

mabbs123
Scratcher
Registered: 2010-04-20
Posts: 18

Bouncing

How do i make a ball forever bounce up and down?


...........I'm A Bubble.............

Offline

 

#2 2010-05-19 07:25:11

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: Bouncing

I'm not sure exactly what you mean. Could you be more clear? Do you want something like this http://scratch.mit.edu/projects/demosthenes/556255 ?


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#3 2010-05-19 16:55:16

infinitum3d
Scratcher
Registered: 2009-05-10
Posts: 100+

Re: Bouncing

Its not pretty but how about;

<when green flag clicked>
<forever>
<change x by( -10  )>
<wait( .2  )  secs >
<change x by( 10  )>
<end>












Why did the chicken cross the road?

Last edited by infinitum3d (2010-05-19 16:58:29)

Offline

 

#4 2010-05-20 00:07:36

mabbs123
Scratcher
Registered: 2010-04-20
Posts: 18

Re: Bouncing

Uhm nt really. more like just make the ball bounce straight up and down.


...........I'm A Bubble.............

Offline

 

#5 2010-05-20 06:06:03

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Bouncing

I think the solution to your problem lies in repeatedly moving your Y coordinate.

Offline

 

Board footer