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

#1 2011-02-23 17:19:06

VanillaCreme
Scratcher
Registered: 2010-11-05
Posts: 1000+

How Do You Connect A Button To The BackRound??

Well Im Trying to make a Game and i can't Do the simplest Thing! Make A Button That Works! What i want to do is make a button that changes the backround! and i have seen How People Make Buttons That Change The Backround! For Games And Stuff! Help Meeeeeeee! Thanks! ~ Vanilla  smile


http://www.prguitarman.com/icon/poptartFINALTINY.gif
http://i49.tinypic.com/6yo39h.png

Offline

 

#2 2011-02-23 17:26:58

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: How Do You Connect A Button To The BackRound??

On the sprite:

Code:

When sprite clicked
Broadcast change

On the stage:

Code:

When I receive change
Next background

Don't worry; broadcasts aren't exactly self explanatory. You can do this other ways, but this is the easiest solution.  smile


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#3 2011-02-23 17:28:30

VanillaCreme
Scratcher
Registered: 2010-11-05
Posts: 1000+

Re: How Do You Connect A Button To The BackRound??

Harakou wrote:

On the sprite:

Code:

When sprite clicked
Broadcast change

On the stage:

Code:

When I receive change
Next background

Don't worry; broadcasts aren't exactly self explanatory. You can do this other ways, but this is the easiest solution.  smile

OMG THATS SO EASY I CAN DO SO MUCH WITH THAT!!!! THANK YOUUUUUUUUUU!!!!


http://www.prguitarman.com/icon/poptartFINALTINY.gif
http://i49.tinypic.com/6yo39h.png

Offline

 

#4 2011-02-23 17:59:14

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: How Do You Connect A Button To The BackRound??

VanillaCreme wrote:

Harakou wrote:

On the sprite:

Code:

When sprite clicked
Broadcast change

On the stage:

Code:

When I receive change
Next background

Don't worry; broadcasts aren't exactly self explanatory. You can do this other ways, but this is the easiest solution.  smile

OMG THATS SO EASY I CAN DO SO MUCH WITH THAT!!!! THANK YOUUUUUUUUUU!!!!

No problem.  smile

Last edited by Harakou (2011-02-23 17:59:28)


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#5 2011-02-23 21:52:27

MarySueHunterz12
New Scratcher
Registered: 2010-09-17
Posts: 16

Re: How Do You Connect A Button To The BackRound??

What a short exchange!  big_smile

No, really. I have (almost) no idea of what you guys are talking about.

So, what's this I hear about changing the background? And how do you type in codes?

Offline

 

Board footer