Quest 10 of 22

Touch and React

Games notice when things touch. Decide what each touch should do.

About 20 min 25 XP

You’ll learn

  • Make floors solid
  • Use a touch trigger
  • Reset after a hazard

Quest steps

  1. Make sure the hero lands on the floor and cannot walk through a wall.
  2. Add a hazard with a clear shape. Touching it should send the hero back to the start.
  3. Test the wall, floor and hazard separately so you know which rule works.
Say to Genie
Make the walls and floors solid. Send the player to the start when they touch the spiky tile.