Session 4.1

Maze

Remix either the Maze Starter project, or TClark's Maze

Name it "4.1 Maze" and share it

How can you use scratch to build and interactive game?

In this project, you will create a game. This game includes interactions between sprites, score, and levels. You move a sprite from the start of a maze to the end without touching the walls.


TClark Hint: Make sure your sprite costumes are centered, otherwise they might jump around unexpectedly when changing directions.

Start Here

  • Draw a maze-like background and use different colors for the walls and end-of-maze marker.

  • Add a sprite.

  • Make your game interactive!


These scripts give the player control over sprite movement in the maze.

This tells your sprite where to begin and marks the start of the maze.

This is one way to cause your sprite to bounce off the blue walls of the maze.

Or you could use a go to block to put it back at the initial position.

This tells the end-of-maze sprite that players win when the ball touches this sprite.

Requirements & Guidelines

  • Create a new maze by changing the background (color, and or design)

  • You can create a "movable part" of the background by creating a rectangle sprite the same color.

  • add 1+ enemy

  • add 2 levels

Feeling Stuck? Things to Try:

  • Add multiple levels to your game! This can be done through the use of different backdrops and using broadcast blocks to trigger the next level.

  • Use the make a variable block to keep score!

  • Add a timer and Game Over screen when it counts down to zero.

  • Experiment with timer blocks to add new challenges to your maze!

Finished?

  • Challenge yourself to do more! Add more levels, coins to collect, secret keys to unlock parts of the maze (hide a sprite that looks like a wall), more enemies, etc.

  • Share your project with a neighbor and walk them through your process of exploration and design.

  • On your Portfolio Google Site, embed your Maze Scratch project.

  • Help a neighbor!