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

#1 2012-08-13 19:24:08

Rasengankirby
Scratcher
Registered: 2012-05-15
Posts: 14

Background help...

How do you make it so that when you click the "play button" sprite that is switches to another backround?

Offline

 

#2 2012-08-13 19:30:44

powerpoint56
Scratcher
Registered: 2012-04-19
Posts: 500+

Re: Background help...

Try this  wink :

Play Button Sprite

when [Play Button v] clicked
change [background v] by (1)

Background

when gf clicked
set [background v] to (1)
forever
switch to background (background)

Last edited by powerpoint56 (2012-08-14 17:12:49)


http://i48.tinypic.com/2072ctw.gif

Offline

 

#3 2012-08-13 19:36:09

bertdog
Scratcher
Registered: 2012-06-12
Posts: 100+

Re: Background help...

when the button is clicked make it broadcast start and then that will help you.


"Losers quit when they are tired,Winners quit when they are done." smile http://blocks.scratchr.org/API.php?user=bertdog&action=onlineStatus

Offline

 

#4 2012-08-13 20:15:07

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Background help...

powerpoint56 wrote:

Try this  wink :

Play Button Sprite

when [Play Button v] clicked
change [background v] by (1)

Background

when gf clicked
set [background v] to (1)
forever
switch to background [background v]

Fixed.

Last edited by ErnieParke (2012-08-13 20:16:57)


http://i46.tinypic.com/35ismmc.png

Offline

 

#5 2012-08-13 20:16:04

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: Background help...

What the-

Look above me!


http://i47.tinypic.com/2iaa73k.png

Offline

 

#6 2012-08-13 20:20:53

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Background help...

berberberber wrote:

What the-

Look above me!

Where you talking about the bug that happened in my post? Well that was caused by a missing [/scratchblocks] tag which caused the BBCode interpreter to think that my text was a bunch of scratchblocks, but since my text wasn't a scratch block it recognized, it glitched out. This only happens when the script is in a pair of [/quote tags. This has happened to me quite a few times and only now have I been able to figure out what has been causing it. I could reproduce it easily now that I know the cause.

Last edited by ErnieParke (2012-08-13 20:25:40)


http://i46.tinypic.com/35ismmc.png

Offline

 

#7 2012-08-14 16:43:52

Rasengankirby
Scratcher
Registered: 2012-05-15
Posts: 14

Re: Background help...

Thanks, guys.

Offline

 

Board footer