If you click on the stage there should be a tab up with scripts called either costumes, or backgrounds, make a new one, then in the looks tab, there is a next background button
Last edited by cds56 (2009-01-22 16:29:10)
Offline
Under the Stage, there are some scripts under "LOOKS" such as "Next Background" and "Switch to Background [ ]"
You could add a script on the character so that when it touches the yellow, it changes the level by 1.
This is an example for a game with different backgrounds and levels:
If <Touching Color [Yellow]>
Change level by 1
Go to (StartingX), (StartingY)
And on the Stage,
Forever
Switch to Background Costume (Level)
Offline
Zelda123 wrote:
Under the Stage, there are some scripts under "LOOKS" such as "Next Background" and "Switch to Background [ ]"
You could add a script on the character so that when it touches the yellow, it changes the level by 1.
This is an example for a game with different backgrounds and levels:
If <Touching Color [Yellow]>
Change level by 1
Go to (StartingX), (StartingY)
And on the Stage,
Forever
Switch to Background Costume (Level)
Thanks Zelda! I thought it was <touching color[ sensing script.
:putnam:
Offline
I'm just thinking... What is the definition of advanced??? To me, this is one of the most basic parts of scratch. Anyway, you can do this:
<if><touching color[ yellow ]
<broadcast[ next background ]
For the moving character. For the stage:
<when I receive[ next background ]
<next costume>
The forever thing slows down the game if it's too big already. Although I doubt it would be too big if color detection is used.
Last edited by juststickman (2009-06-07 12:59:38)
Offline