Step 9

Goal:


Let’s get started by having the Wall rotate in place.

This will the Mandalorian to fit through the passage, but also create a new challenge if the wall hits Mando since it is colored black!

Part 3 Template:

Click here to start: Maze Part 3 Template This template contains some new sprites.

Steps:

  1. Select the Sprite2 sprite from the sprite box.
  2. From Events, place a forever block.
  3. From Motion, add turn 15 degrees block into the forever block.
  4. From Control, add a wait block.
  5. Edit the seconds to .25, this is the speed the wall rotates.

Code:


Click to replay