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

#1 2011-12-11 11:17:56

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Bounce

Is there a "bounce off of spriteX" script?  If not, how can I make one? There is one that [blocks]<if on edge, bounce>[/blocks], but there is no "bounce off of spriteX" script.  Please give me feedback.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#2 2011-12-11 16:23:07

Codebreaker
Scratcher
Registered: 2011-10-03
Posts: 100+

Re: Bounce

You can make one that says: If touching SpriteX, move 10 steps. There is no bounce off of sprite script.


Latest project: Pixelation/Upcoming project(s): M.A.Z.E Runner

Offline

 

#3 2012-03-10 16:54:20

zdestefano70
Scratcher
Registered: 2011-07-19
Posts: 2

Re: Bounce

A bounce off sprite script is very confusing but here is the game I created. It has an almost perfect bounce script.  feel free to remix http://www.scratch.mit.edu/projects/zdestefano70/2385334

Offline

 

#4 2012-03-10 23:25:02

PencilFactory
Scratcher
Registered: 2011-11-11
Posts: 100+

Re: Bounce

bounce script:

if on edge, bounce
move (4) steps


PencilFactory is http://blocks.scratchr.org/API.php?user=PencilFactory&amp;action=onlineStatus&amp;type=text, see my computerhttp://mag.racked.eu/cimage/i9002/Achievement+get%21/Computer+crashed/mca.png

Offline

 

Board footer