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

#1 2012-08-30 03:55:00

JakJones
New Scratcher
Registered: 2012-08-22
Posts: 5

How to change levels

I am making a multiple-level game and I am having trouble with making the sprites hide when the instruction screen comes up and after it's gone, reappearing and then starting their pre-existing scripts.

Also I cannot work out how to change levels smoothly.


Can anyone help me?

Offline

 

#2 2012-08-30 08:51:52

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: How to change levels

If you make a variable called level, and set it so it is always at the current level (if you make each level a background, and there is one main menu and one instructions page, you can set it to background # - 2) then you can make things only show when it is at a certain level.

For an example, you could take a look at my project The Level Game's scripts, and see how it works.


http://i.imgur.com/gp6tZ.gif

Offline

 

Board footer