Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » how to make levels
- starwarspinguin
-
New Scratcher
4 posts
how to make levels
can anyone please teach me how to make levels.

- VoltageGames
-
Scratcher
1000+ posts
how to make levels
This is an advanced request!
What kind of level you have depends on the game. If you were making a platformer (like super mario bros) it would be easier. A scrolling platformer would be harder. If you were making a game like Legend of Zelda, making levels would be complicated work. Can you share what you have of your game so far so we can help you?
What kind of level you have depends on the game. If you were making a platformer (like super mario bros) it would be easier. A scrolling platformer would be harder. If you were making a game like Legend of Zelda, making levels would be complicated work. Can you share what you have of your game so far so we can help you?
- starwarspinguin
-
New Scratcher
4 posts
how to make levels
this are the games (it are linkes. copy them and paste them.)
https://scratch.mit.edu/projects/55866020/
https://scratch.mit.edu/projects/54693972/
https://scratch.mit.edu/projects/53923626/
https://scratch.mit.edu/projects/54923818/
greetings
https://scratch.mit.edu/projects/55866020/
https://scratch.mit.edu/projects/54693972/
https://scratch.mit.edu/projects/53923626/
https://scratch.mit.edu/projects/54923818/
greetings
- TechEpic
-
Scratcher
100+ posts
how to make levels
you can have a map with multiple costumes (one for each level) then when each level is passed reset the necessary things and go to the next costume 

- Prinseskat
-
Scratcher
1000+ posts
how to make levels
I'd say to make a variable for the level # that starts at one. Whenever the goal for the current level is reached (touching the right side of the screen, getting enough points, etc), you could increase the variable and have a broadcast that sets everything up for the next level - player going to a place on the screen, obstacles added, backdrop changing, that sort of thing. Although it does differ game-to-game, this sort of thing should give you some idea of how you could add levels in your game(s).
- starwarspinguin
-
New Scratcher
4 posts
how to make levels
can you please add the list off blocks in the right order down?
- CatsUnited
-
Scratcher
1000+ posts
how to make levels
can you please add the list off blocks in the right order down?What do you mean by lists?
- starwarspinguin
-
New Scratcher
4 posts
how to make levels
wait all show you this i mean:
when green flag clicked
[scratchblocks]
move (10) steps
[/scratchblocks]
[scratchblocks]
say [hihihaha] for (7) secs
[/scratchblocks]
play sound [pinguin v] until done
turn video [yoda v]
stop [all v]
- nostrildamus
-
New Scratcher
6 posts
how to make levels
This question has been asked in a few places, so I thought it was important to give an example of a solution for reference.
It's a cool challenge to think about when you want your game to keep people's interest by gradually getting harder etc.
You could load the sprites for a specific level every time you render a new backdrop, if you divide the backdrop into logical areas so you can “visualise” the level as letters of the keyboard. Every time you pass a level, increase the level counter by 1.
For an example, take a look at the LEVELS array in my completed project, which supports unlimited levels:
https://scratch.mit.edu/projects/356609521
Each ASCII character (e.g. A, *, X etc) in the LEVELS file represents a sprite on a screen.
There is a single sprite, called the Wizard, who knows how to render a level.
The Wizard coincidentally is the only one who creates new sprites during the game as well; he has a queue of sprites to be created, to keep it neat.
(It is also a fully fledged game example, with:
+ scrolling digits for the score
+ different skills available in different levels
+ different ways a level needs to be completed.
+ colour changing health bar
+ hovering score text whenever you add to your score
+ explosions
+ ability to push blocks
+ a state machine to handle the game modes, like splash screen and game over
+ an animated player girl
+ bonuses that find an empty spot to appear
+ careful respect for the Scratch threading model
+ various optimisations for speed when a lot of sprites are on the screen.)
It's a cool challenge to think about when you want your game to keep people's interest by gradually getting harder etc.
You could load the sprites for a specific level every time you render a new backdrop, if you divide the backdrop into logical areas so you can “visualise” the level as letters of the keyboard. Every time you pass a level, increase the level counter by 1.
For an example, take a look at the LEVELS array in my completed project, which supports unlimited levels:
https://scratch.mit.edu/projects/356609521
Each ASCII character (e.g. A, *, X etc) in the LEVELS file represents a sprite on a screen.
There is a single sprite, called the Wizard, who knows how to render a level.
The Wizard coincidentally is the only one who creates new sprites during the game as well; he has a queue of sprites to be created, to keep it neat.
(It is also a fully fledged game example, with:
+ scrolling digits for the score
+ different skills available in different levels
+ different ways a level needs to be completed.
+ colour changing health bar
+ hovering score text whenever you add to your score
+ explosions
+ ability to push blocks
+ a state machine to handle the game modes, like splash screen and game over
+ an animated player girl
+ bonuses that find an empty spot to appear
+ careful respect for the Scratch threading model
+ various optimisations for speed when a lot of sprites are on the screen.)
- DipLeChip
-
Scratcher
1000+ posts
how to make levels
This question has been asked in a few places, so I thought it was important to give an example of a solution for reference.Hey thanks for giving a detailed input, but this post is close to five years old, doing this would be considered “necroposting” as you are posting on a dead topic that hasn't been updated in a while, for this example the last post was made 5 years ago. I'll report this topic to be closed in case of further necroposts.
It's a cool challenge to think about when you want your game to keep people's interest by gradually getting harder etc.
You could load the sprites for a specific level every time you render a new backdrop, if you divide the backdrop into logical areas so you can “visualise” the level as letters of the keyboard. Every time you pass a level, increase the level counter by 1.
For an example, take a look at the LEVELS array in my completed project, which supports unlimited levels:
https://scratch.mit.edu/projects/356609521
Each ASCII character (e.g. A, *, X etc) in the LEVELS file represents a sprite on a screen.
There is a single sprite, called the Wizard, who knows how to render a level.
The Wizard coincidentally is the only one who creates new sprites during the game as well; he has a queue of sprites to be created, to keep it neat.
(It is also a fully fledged game example, with:
+ scrolling digits for the score
+ different skills available in different levels
+ different ways a level needs to be completed.
+ colour changing health bar
+ hovering score text whenever you add to your score
+ explosions
+ ability to push blocks
+ a state machine to handle the game modes, like splash screen and game over
+ an animated player girl
+ bonuses that find an empty spot to appear
+ careful respect for the Scratch threading model
+ various optimisations for speed when a lot of sprites are on the screen.)
- Discussion Forums
- » Questions about Scratch
-
» how to make levels