Opening Circle:
Example Mazes:
- JailBreak (maze) https://scratch.mit.edu/projects/50406044/
- Hungry Bat in a Maze https://scratch.mit.edu/projects/91558911/
Activity:
1. Go to scratch.mit.edu and SIGN IN
2. Click Create to start creating a new project.
3. Program your sprite so it moves around the screen when the user presses the Right, Left, Up, Down arrow keys on the keyboard. Help: Click (?) -> How To -> Games -> Use Arrow Keys to Move
Tip: To save time, once you have the Up arrow working, use the stamp tool to copy this group of blocks and modify the copies to get Left, Right and Down working.
4. Draw a backdrop that looks like a blue maze. Use the Line tool. Use Shift while drawing lines to make them straight (parallel to the edges of the screen)
5. When the bat touches the blue lines (the walls of the maze), send it back to the starting point.
6. If the bat reaches the banana, display a message: Yum!
Extras:
7. Look at the Make a Sprite Walk how to. Help: Click the ? in the upper right corner, then click How To -> Animation -> Make a Sprite Walk.
Use Scratchy the cat, or select a sprite from the library from the Walking Theme. These sprites have more than one costumes, so they can look like they are really walking or moving if you keep switching costumes while moving them on your screen: Avery walking, bat, crab, dog, Giga walking, Pico walking or use a car that has only one costume but it can look like it's rolling forward in your maze.
Can you update your maze game to use one of these sprites, then change your Up, Down, Left and Right functions to make the sprite look like it is actually walking?
ps. Don't forget to give your game a name.
Closing Circle: