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

#1 2012-10-11 10:18:09

dwcardwell
New Scratcher
Registered: 2012-10-11
Posts: 1

How To Change Backgrounnd

Hi, I was wondering if someone could tell me how to change the background in a game.  In my game I am trying to make it where if the sprite touches a blue line then the background changes, and I can't figure out the script for it.

Offline

 

#2 2012-10-11 10:48:03

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: How To Change Backgrounnd

you'll have to use broadcasts
you need to put this script in the stage:

when I [next background v] receive
  next background
and every time you need to switch backgrounds use
broadcast [next background v] and wait

Last edited by roijac (2012-10-11 10:48:26)

Offline

 

Board footer