Search Header Logo
Adding a new level

Adding a new level

Assessment

Presentation

Computers

6th - 8th Grade

Practice Problem

Hard

Created by

Yasmeen Ahmad

Used 3+ times

FREE Resource

9 Slides • 0 Questions

1

Finalizing Game

By Yasmeen Ahmad

2

How to Create a Level 2 in a Scratch Game:

To create a second level in a Scratch game, you need to change the backdrop, reset variables, and add new challenges. Here’s a step-by-step guide:

3

Step 1: Create the First Level (If Not Done Already)

Before making Level 2, ensure you have:
✅ A
player sprite that moves with keyboard controls.
✅ A
goal or condition that determines when Level 1 ends (e.g., reaching a certain score or touching a finish line).
✅ A
backdrop for Level 1.

4

Step 2: Add a New Backdrop for Level 2

1️⃣ Click Backdrops in the Stage section.
2️⃣ Choose a new
backdrop from the Scratch library or upload/draw your own.
3️⃣ Rename the backdrop to
Level 2 to make it easier to manage.

5

Step 3: Create a Condition to Switch to Level 2

You need to detect when the player should move to the next level. This could be based on:

  • Reaching a score (e.g., 10 points).

  • Touching a specific object (e.g., a flag or door).



Hint on the next page

6

You can use this algorithm as a hint for your code:
when green flag clicked

set [score v] to (0) // Reset the score when the game starts

switch backdrop to [Level 1 v]

forever

if <(score) = [10]> then

switch backdrop to [Level 2 v] // Change backdrop when score reaches 10

broadcast [Level 2 Start v] // Notify other sprites that Level 2 has started

7

Step 4: Adjust the Game for Level 2

Now that the backdrop changes, you can make Level 2 different from Level 1 by:
Adding more obstacles – Increase difficulty by making enemies faster.
Changing gravity or movement – For example, increase speed when Level 2 starts.
Creating new collectibles – Make the player collect different items in Level 2.

8

Step 5: Reset Important Variables

When transitioning to Level 2, reset or modify values so the game continues smoothly:
Position the player at the correct starting point
Reset the timer (if using one)

9

Step 6: Test & Debug

Click the Green Flag to start the game and see if Level 2 loads correctly.
Ensure the transition works smoothly (e.g., does the backdrop change at the right time?).
Check if the score or conditions reset properly.

Finalizing Game

By Yasmeen Ahmad

Show answer

Auto Play

Slide 1 / 9

SLIDE