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

#1 2013-03-06 10:58:34

theNoobCode
Scratcher
Registered: 2013-03-04
Posts: 1

how do i make levels?

its really important, i have 2 sprites, and when they die i want it to run the next level (go to my game "SPACE-VIRUS (music and unfinished)" To see what i'm talking about (the 2 sprites that are randomly going around the screen)

Offline

 

#2 2013-03-06 12:37:55

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: how do i make levels?

Well, one way you could make levels is through the use of a level variable. From there, you just need to set it to 1 for the first level, 2 for the second, ect... as well as have some sort of system (broadcasting could be used) to make your sprites/backgrounds go to and do whatever they're supposed to do to begin a level. Once you have this down, you just need to set (level) to whatever level you want, and run your level set-up system and you're good!

If you have any questions about this, just ask.  wink

Anyway, I hope that this helps!

With regards,

ErnieParke

Last edited by ErnieParke (2013-03-06 12:39:23)


http://i46.tinypic.com/35ismmc.png

Offline

 

Board footer