The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => XP Event Systems => Topic started by: knightzero45 on August 01, 2009, 10:31:12 AM

Title: [XP] Puzzles
Post by: knightzero45 on August 01, 2009, 10:31:12 AM
-This tut is VX compatible too, though this tut is made for XP-
This tutorial will teach you some puzzles, that aren't mentioned yet.

Parallel puzzle:
Spoiler for:
Step 1.: Create two events for switches, in two different spots, make a wall between them. Make sure they are the same size. Add the 'ghost' and either a door or the player.
(http://E:\Documents and Settings\Administrator\Mijn documenten\Mijn afbeeldingen\1.bmp)

Step 2.: Add some obstacles, make sure it's a puzzle, so don't put them in the same spots.
(Make sure it's harder than mine)
(http://E:\Documents and Settings\Administrator\Mijn documenten\Mijn afbeeldingen\2.bmp)

Step 3.:This is the begin of the harder parts: To make sure the ghost will walk the same as the player, we'll have to make the event a bit more complicated. Add the conditional branches for up, down, left
 and right, and move routes: up: move up, down: move down and so on. Make sure to click ignore if can't move, or else he'll get stuck if he walks into an object. Last put wait for move's completion behind it. Set speed and freq: speed- fast freq.-highest. Make it a parallel proces Note that the ghost will always react later as the player, so it will move slower. If you walk normal, the ghost will act normal. don't go 'tripping' or something
 (http://E:\Documents and Settings\Administrator\Mijn documenten\Mijn afbeeldingen\3.bmp)

Step 4.: Make the player switch its events:
 (http://E:\Documents and Settings\Administrator\Mijn documenten\Mijn afbeeldingen\4.bmp)
At
Quote
The switch won't move
you could put any text which says that you'll need to do something else first(in this case, get the ghost to the other switch.)

Step 5.: Make the switches complete:
Add an extra event page, with variable/switch 'switch switched' or something and make the switch 'switched'. At the ghost switch itself you do only have one empty event sheet.
(http://E:\Documents and Settings\Administrator\Mijn documenten\Mijn afbeeldingen\5.bmp)


Step 6: The Chest:
The reward for winning the puzzle can be everything, but we'll go for the good old treasure chest.
Make the chest, and what's inside of it. then make the condition: switch/variable 'switch switched' ON.
Otherwise you can get the stuff from the beginning, and you wouldn't have to do the puzzle.

Then the puzzle is done, I had help with making this puzzle work by Kipe.

Quiz:
Spoiler for:
This is a quiz using OPEN questions. Note that the quiz is capital letter sensitive.
To make a quiz, start with the room and the host. You can choose to make public and/or an other contestant. After that, make an extra actor, do NOT make a name, or graphics.
This is our 'answer'. Start with the host as autorun. first, say the names of contestants, then start with the questions, These are up to yourself. Capitals of countries are a good question, we'll take an easy one, What's the capital of Holland? This is the text. Then you make a name input for the empty actor.
Someone fills in its 'name' which is in our case the answer. Amsterdam is correct, so make an conditional branch: If actor <empty>: name <answer> (in this case: Amsterdam) and when answer Amsterdam is correct, one point, which is done by variable 'Points'. If it's wrong, it's no point for you, so make labels at the end of the conditional branch. After the label change the name of that actor back in <empty>, or else you will have 'Amsterdam' in your next answer, and you'll have to erase it yourself, which is boring...
Do this with all questions and you're done. Except...
At the end, you have to check your points, and if you have 4/5 or 5/5 answers correct you win, but you can also make 'batch' for the other contestants' points, so it's harder, because the other one can have no correct answers, or five, and that means it could only be a draw...
(http://E:\Documents and Settings\Administrator\Mijn documenten\Mijn afbeeldingen\Test2.bmp)

Here's a preview of a small five answer quiz:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/JPdAEtD4xlI&hl=nl&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/JPdAEtD4xlI&hl=nl&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

When there are some problems viewing it, here's the url
http://www.youtube.com/watch?v=JPdAEtD4xlI (http://www.youtube.com/watch?v=JPdAEtD4xlI)

The Parallel puzzle:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/-vhjFquFsCw&hl=nl&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/-vhjFquFsCw&hl=nl&fs=1" type="application/x-shockwave-flash" width="425" height="344" allowscriptaccess="always" allowfullscreen="true"></embed></object>
The game you see is Charity RPG.

When there are some problems viewing it, here's the url
http://www.youtube.com/watch?v=-vhjFquFsCw[\url]

Any questions? Don't hestiate to ask. (http://www.youtube.com/watch?v=-vhjFquFsCw)
Title: Re: Puzzles
Post by: knightzero45 on August 01, 2009, 10:31:59 AM
-Extra space for when adding more puzzles-
Title: Re: Puzzles
Post by: Grafikal on August 22, 2009, 12:34:33 AM
All your pictures are broken. Still waiting for more puzzles.
Title: Re: Puzzles
Post by: knightzero45 on August 28, 2009, 04:42:34 PM
Back from vacation. I read the comments, and I made an easy version of the Parallel puzzle example. I'm now working on some puzzles, soon they'll be done.
About the pics, I'll do something about them later.
Title: Re: Puzzles
Post by: NickTheSushi on September 02, 2009, 03:58:26 PM
Nice work on the parallel puzzle, man.
Title: Re: Puzzles
Post by: serge282 on November 14, 2009, 04:36:55 PM
Could you also make a puzzle like the ghost puzzle, but that the ghost only moves if you really move, and that you can only move, if the ghost can move. (Example: In your puzzle, your ghost moves whenever you press up, even if you're walking against a wall. Could you change it so that the ghost only moves when you really move?).
Title: Re: Puzzles
Post by: Grafikal on November 14, 2009, 05:03:20 PM
If knightzero45 doesn't reply soon for you, serge282, try posting your request here: http://rmrk.net/index.php/topic,35405.0.html

It's a Puzzle Request Shop for VX by Zylos. Zylos is always active and you should get some sort of reply there.
Title: Re: Puzzles
Post by: Zylos on November 14, 2009, 06:26:51 PM
Or he could go to my XP request shop too. :3
Title: Re: Puzzles
Post by: Grafikal on November 14, 2009, 06:35:20 PM
Lol, good point, I read VX compatible first and threw the topic there :P