Submit Your Article Guild Wars 2 Forum RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker VX > Basic Puzzle

Basic Puzzle


OK- so I'm sure you've all played the Zelda games. One of the most fun (and frustrating) things about those games are the puzzles integrated into each dungeon.
Today, I'm going to tell you how to create a basic puzzle.

First, the materials we'll need:
-A map of a mountain (outside)
-A map of a mountain (inside)
-A treasure chest with a key
-Three events that have the image of a torch.
-A switch named "torch complete"
-A variable named "torch puzzle"

So, on the outside map, put two things, an event with the image of a sign (same layer as characters) that shows message... "Middle, Right, Left." And put an event transfer to the inside of the mountain.

Next, on the inside map, put the three torches and the chest with the key. Now, on each torch put (message) "Light the torch?"
And (choices) Yes/No

Next, go to the middle torch and put (under yes) (conditional branch) variable "torch puzzle = 0".
If the condition is met, put play sound effect (your choice, I recommend one of the chimes)and change variable "torch puzzle" to 1. If else, put play sound effect (again your choice, I recommend buzzer...)

Then go to the right torch and do the same thing, except under set conditional branch to if "torch puzzle = 1".
Also, put if condition is met, set "torch puzzle" to 2.
Lastly, under else, put play the sound effect, and set "torch puzzle" to 0.

Finally, go to the left torch. Same thing again, but for the conditional branch put if "torch puzzle = 2". If condition is met, set "torch puzzle" to 3, and turn switch "torch complete" on. And under else, play the sound effect and set "torch puzzle" to 0.

Now, go to the treasaure chest, and go to the upper left hand are of the event box (the conditions) and put if switch "torch complete" is on.

Now go back to the middle torch. Make a new page, and set the conditions to if variable "torch puzzle = 1 or greater". Make the graphic a torch with fire.

Now go to the second torch and do the exact same thing, just set the conditions to if variable "torch puzzle = 2 or greater."

Now go to the third one and do the same thing once more... just with if variable "torch puzzle =3 or greater."

So, the way this works is that the person reads the sign,
and turns on the torches in that order. Then the chest with the key appears.

You can elaborate on this by making more torches or more ambiguous instructions.

Hey, thanks for reading this tutorial, and check out my others too. Please leave questions and suggestions.









Details
Tutorial: Basic Puzzle
Date Listed: Tue, 19 May 2009 18:42:14 -0400
Author: Jess Mii
Total Hits: 7408


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal