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

#1 2008-10-13 16:54:39

nintendo8000
Scratcher
Registered: 2007-10-03
Posts: 5

how do i change that background when i click the sprite?

i am making a point and click and i want it to change the background when i click a sprite.help!

Offline

 

#2 2008-10-13 16:57:30

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: how do i change that background when i click the sprite?

when sprite 1 clicked
set [background] to (1)

and on the background

when green flag clicked
forever
switch to background (background)

Note that the "switch to background (background" refers the to the variable background.

Offline

 

#3 2008-10-14 01:43:27

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: how do i change that background when i click the sprite?

Or

When Sprite Clicked
Broadcast "Change Background"

and on the background

When I recieve "Change Background"
Swtich to Background (background)


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

Board footer