Mirror Two Rooms to Look Exactly Alike

● ARCHIVED · READ-ONLY
Started by icerose05 5 posts View original ↗
  1. In The Witch's House and Mad Father, there is a puzzle where you have to make two rooms look exactly the same. How would I do this?
  2. Most likely this is done with variables. For instance, when Tile A is moved to space B, it adds a number to a variable. Putting Tile B to space C adds another number to the variable. When the variable equals the level you set then a switch is triggered to run the next program (make a door open or make a key appear).

    I've played all of John Wizard's games and he frequently uses this mechanic. I want to do something similar and so have been giving it a lot of thought and this is what I've come up with. Hope this helps.

    Celianna has a guide about variables that might be helpful if you don't know what they are or how to use them. Here's the link.
  3. For starters, all the room objects would have to be sprites instead of tiles.

    Then, you set each each object as an event with a Move Route of Away From Player triggered either by Player Touch or Action Button. This is the easy way to do a block-pushing puzzle.

    An alternative is to have a choice menu pop up upon Action Button, with the choices of Move or Rotate. The Move option brings up directions to push the object, and the Rotate option brings up directions to turn the object once you have it in the right place.

    When each object is put in the right position, it adds to a variable we'll call Mirror by checking the XY position and direction of the object. Once the puzzle is completed, the Mirror variable reaches the required amount, and triggers the Puzzle Complete switch.
  4. Awesome! Thanks for the help guys!
  5. I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.