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

#1 2007-07-08 16:36:49

MrHeller
Scratcher
Registered: 2007-07-08
Posts: 1

Multiple Stages?

Hello all-

Is there a way to have multiple stages in a project.  I would like to have it so when a user clicks on a certail sprite, it goes to a new stage. 

Is this possible?

Thank-
David Heller
Montgomery Village MD

Offline

 

#2 2007-07-08 16:57:17

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

Re: Multiple Stages?

Yes - just give your stage additional backgrounds, the same way that you would give a sprite extra costumes.

if you mean more like "levels" in a game, all you need to do is change the background whenever a new stage is reached.

You might also use a variable to keep track of the current stage.  That way, any sprites can check the variable to see whether they should appear or not.

****

For an example of changing the background for new levels:
http://scratch.mit.edu/projects/uncleclives/18927

For an example of sprites checking the level to see if they are needed:
http://scratch.mit.edu/projects/Mayhem/9894


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