Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> [VX] Switch Puzzles, Skill Level: Easy
Shaddow
post Aug 30 2012, 07:45 PM
Post #1


The Eventer Inventor
Group Icon

Group: Local Mod
Posts: 1,250
Type: Event Designer
RM Skill: Masterful
Rev Points: 90




Hi everyone! I'm here to make another eventing tutorial! This one was even requested! This is to make a simple switch puzzle using, once again, variables! This can be done in a lot of formats, I'm going to teach you how to unlock a chest using four different switches!

Ok, let's get started! This will require several events, one for each switch, one for the chest, and preferably, one for the instructions. The first thing we are going to do is make one of the switches, in my case I used a simple set of four different colored switches. Within this switch you will make it simple, make it based on button push, and then have that add a constant number to the new variable.

For example, Add +5 to Variable: Puzzle

You will repeat this with each of the switches, keep in mind what numbers you are using, the solution to the puzzle will require a bit of maths. Also, you will want to set up a change self switch A to on, after turning on the variable, so it's not repeated.

On the second page of this event, you will want to add the opposite, make a variable -5, and turn self switch A off. This allows trial and error by the player without messing with the total variable.

(Alternately - depending on the difficulty you want, you can choose not to allow them to turn off the switches, and have it reset when they leave the room, add a variable constant = 0 on leaving the room.)

Now for the chest. You will make a chest like normal, only this time you will put all the neatness of opening the chest inside a conditional branch. You will put the condition of this as Variable = Constant.

(Make this constant be a total of the different additions from the switches you want pressed, example: If you want 3 switches pressed and those three add 5, 5, and 3, you will make the requirement 13)

Finally you will, hopefully, make a hint of some kind on how to solve your puzzle in a part of the room, I'll leave that up to you!

I know this was a bit more difficult and I don't have screen shots, because of the number of events, so instead I made a demo! You can find it Here

Edit: Demo posted!


__________________________




I support these projects! -------------





Go to the top of the page
 
+Quote Post
   

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 01:47 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker