Beetle in the Maze

Beetle in a Maze - STEM activities
Lesson Details
How to make games and animations in PictoBlox? How to read the sate of evive’s navigation key?

Activities:

  • Creating a game in PictoBlox whose aim is help a beetle reach the end of the maze without touching the boundaries. The beetle will navigate around using the navigation key of evive.
Classroom Bundle Used: STEM Classroom Bundle, STEM Mini Classroom Bundle
Download Resources

Lesson Overview

In this activity, students will make an animated game in PictoBlox where beetle needs help to come out of the maze without touching the boundaries. The beetle will navigate around using the navigation key of evive. 

Material Required

1 set of the following material per group of 3-5 students:

Lesson Outline

Introduction and demonstration of the game - 10 minutes
Setting up the Stage - 10 minutes
  • Getting the sprite (Beetle) on the stage.
  • Setting up the background of the stage to a maze.
Giving the Beetle its moves - 20 minutes
  • Connecting evive
  • How navigation key block works and how to get all the state:
    • Up
    • Down
    • Left
    • Right
  • Making a script to move the beetle in up direction when the navigation key is pressed up.
  • Making script for the other three directions.
Sensing the environment - 20 minutes
  • Making the script for initializing the game so that every time the game starts at one position.
  • Making the script for moving beetle to the start position when it touches the boundary of the maze.
  • Making the script for the game over when the beetle touches the apple.

Download Lesson Resources

Next Lessons

Close Menu
×

Cart