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

#1 2008-03-16 07:38:48

killwill
Scratcher
Registered: 2008-02-20
Posts: 4

bounce

i really need to get a good bounce script to allow a ball to bounce of an edge, that is not the edge of the screen. does anyone know how to do this?? hre edges are up and down if this helps.

Offline

 

#2 2008-03-16 08:44:05

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: bounce

We need to know how you have programmed your velocity to help...


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#3 2008-03-16 09:25:33

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: bounce

Here is one way:

http://scratch.mit.edu/projects/Mayhem/96405


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

Board footer