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

#1 2008-09-05 14:37:47

honeyfoot
Scratcher
Registered: 2008-03-16
Posts: 2

how do you make one sprite affect another???

how do you make a sprite affect another? like for character memes, you click the 'next' button and the entire page changes.

Offline

 

#2 2008-09-05 14:43:03

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: how do you make one sprite affect another???

honeyfoot wrote:

how do you make a sprite affect another? like for character memes, you click the 'next' button and the entire page changes.

What do you mean? like if you make someone shoot, they get hurt?


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#3 2008-09-05 17:10:05

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: how do you make one sprite affect another???

Use the Broadcast block to send a message to other sprites.  Then use the When I Receive message block on the sprites that you are trying to signal.

[blocks]
You might have this on a Sprite called Next Button...

<when[ Next Button ]clicked>
<broadcast[ Level 3

And this on the sprites that need to hide or show themselves when the next button is clicked

<when I receive[ Level 3
<show>
[/blocks]


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#4 2008-10-01 12:00:33

Marine43753
Scratcher
Registered: 2008-08-25
Posts: 16

Re: how do you make one sprite affect another???

try ether useing the [blocks]<when green flag clicked><forever><if><touching[ affecting sprite<hide>[/blocks]

Offline

 

Board footer