Discuss Scratch

cs4143683
Scratcher
3 posts

Level sequence

Can someone help me with something I'm making a game where where you go through mazes how do you make a level sequence thank you
when green flag clicked
set [Coronavirus v] to [conqured]
CMAN_The_Scratcher
Scratcher
49 posts

Level sequence

Make a variable called level. Set it to one at the start of the game, then have a forever loop in all the sprites kind of like this. It will change depending on what you have in your game. And when you reach the end of the game, set the variable Level to 2 and so on. For the maze you might have something like this:

when green flag clicked
set [Level v] to [1]
forever
if <[Level] = [2]> then
switch costume to [Level 2 v]
end
end

And for the player something like this:

when green flag clicked
forever
if <touching [End of maze v] ?> then
set [Level v] to [2]
go to x: (12) y: (43)
end
end

The go to would be whereever your player starts level 2.

say [Hope that helps! ] for (2) secs

-CMAN_The_Scratcher

PS If you ever have any problems, just ask me!

Last edited by CMAN_The_Scratcher (May 22, 2020 03:40:59)

cs4143683
Scratcher
3 posts

Level sequence

Thank you you'll be the first one to know when my project gets shared

Powered by DjangoBB