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

#1 2012-10-29 13:44:25

Duckzify
New Scratcher
Registered: 2012-10-29
Posts: 3

How to make something change the sprite of another

The title say it all, basically I want to make a certain button chage the sprite of the stage and make another button dissapear. But basically  I want to know how to make something comand other and ot it self

Offline

 

#2 2012-10-29 13:47:04

maxamillion321
Scratcher
Registered: 2011-06-17
Posts: 500+

Re: How to make something change the sprite of another

when gf clicked
switch to costume [whatever v]
wait (whatever) secs
switch to costume [whatever v]

Offline

 

#3 2012-10-29 13:54:54

Duckzify
New Scratcher
Registered: 2012-10-29
Posts: 3

Re: How to make something change the sprite of another

sorry, wat i really wanna do is make a button, when pressed, change the stage sprite pls.

Offline

 

#4 2012-10-29 14:24:06

Dsteenson
Scratcher
Registered: 2011-10-12
Posts: 82

Re: How to make something change the sprite of another

first, make a button.  Then put in a block

{scratchblocks}
when button clicked
broadcast whatever
Then the stage receives whatever, change background.  Make sense?  I'm still learning to use scratch blocks.

Offline

 

#5 2012-10-29 14:27:12

Dsteenson
Scratcher
Registered: 2011-10-12
Posts: 82

Re: How to make something change the sprite of another

first, make a button.  Then put in a block

when button clicked
broadcast whatever
 Then the stage receives whatever, change background.  Make sense?  I'm still learning to use scratch blocks.
Updated just previewed....not the best scratch blocks ever.

Offline

 

#6 2012-10-29 14:27:51

shiguy101
Scratcher
Registered: 2010-11-17
Posts: 1000+

Re: How to make something change the sprite of another

Dsteenson wrote:

first, make a button.  Then put in a block

When [button] clicked
broadcast [start v]
Then the stage receives whatever, change background.  Make sense?  I'm still learning to use scratch blocks.

fixed

Offline

 

#7 2012-10-29 14:32:34

Dsteenson
Scratcher
Registered: 2011-10-12
Posts: 82

Re: How to make something change the sprite of another


when [button] clicked
broadcast [change v]
 
when I receive [change]
change background
 
A lot better.  The first bit is for the button.  The next bit is for the stage.

Offline

 

#8 2012-10-29 14:38:59

Duckzify
New Scratcher
Registered: 2012-10-29
Posts: 3

Re: How to make something change the sprite of another

THanks guys  wink  I might put more questions today

Offline

 

#9 2012-10-29 17:55:39

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: How to make something change the sprite of another

No problem, just post when you need to. We'll be happy to answer anymore questions you'd have.


Hai.

Offline

 

Board footer