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

#1 2009-05-27 20:56:42

rjshoeiee
Scratcher
Registered: 2009-05-27
Posts: 1

Background just blinks when i want to change rooms.

SO i made a sprite that when its pressed, its suposed to change the background, but it just blinks and wont let me change the background. help please

Offline

 

#2 2009-05-27 21:25:34

fruit
Scratcher
Registered: 2009-04-24
Posts: 1000+

Re: Background just blinks when i want to change rooms.

Make a variable called background.

Then do for the sprite:
<when[ Sprite ]clicked>
<set{ background }to( whatever

Then on the stage,:

<when green flag clicked>
<set{ background }to( 0
<forever>
<if><(  <<{ background=1>  )> }>
<switch to costume[ whatever

Then repeat for each.


@savi3000 | hcsmp.com

Offline

 

#3 2009-05-28 04:15:38

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

Re: Background just blinks when i want to change rooms.

rjshoeiee wrote:

SO i made a sprite that when its pressed, its suposed to change the background, but it just blinks and wont let me change the background. help please

It's usually easier to debug your script problems if you Share the project online and then include a link to your project in your description of the problem in this forum.  That way, people trying to help can download the problem project and figure out what is going on.  Could you please give that a try?


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

Offline

 

Board footer