Bird Eater

The Puzzle Tutorial - make your own puzzles! Part 1

16 posts in this topic

Hey everyone, I'm planning on making a series of tutorials on how to make puzzles. It's pretty much the only thing I'm a little good at in RPG Maker, and I love to help people. So without further ado, here's the first tutorial!

Puzzles, puzzles, puzzles.

There are infinite possibilities. They are either annoying, a waste of time or 'good'.

You are the one who has the ability to create one such puzzle. And you'll want to make a good one, right?

With puzzle, I don't mean something like this:

"There is a red button in the middle of the room, and once you step on it, the door to the next room opens, no strings attached."

Sure, it's not that boring, and you ask of the player to do something specifically. But that's not something I call a puzzle. You're not letting the player really think.

This is, however, where we will start. Because making a simple button is cool and yields some cool eventing knowledge we're going to use later on.

Step 1: Create a room, you can always make it bigger if you want to. I like to start small. I recommend making the room fit in the editor without needing to scroll to view everything.

1-aroom.png

Step 2: Think! What do you want to create? And how are you going to do it? For button pressing, you could use the 'Action Button' trigger on the button event, making the player press c, enter or the spacebar for anything to happen. We're going to make it slightly complex for us, though, making the button be activated merely by stepping on it.

Step 3: Let's create it! This should be pretty simple, creating some variables and set them to the X and Y coordinates of both the player and the button, and checking if they match.

21-asimplebutton.png

Step 4: TEST IT! Test every once in a while, this is a must. If there is something wrong, you can fix it right away. If you make lots of events and don't test until the end, you're gonna have some trouble finding exactly what's wrong (I can tell you, that's not cool).

Step 5: You're getting a message as you step on the button? Good. Now let's spice this up a little bit by adding a boulder to the map, which can be pushed on the button. To do this, we'll have to make a boulder, and edit the button to record the boulder's coordinates.

4-aboulder-1.png

22-asimplebutton2.png

Step 6: Test to see if it works.

Step 7: So it actually did something different, huh? We can also create a door, which will open when something is on the button, whether it's the player or the boulder, but close again when nothing is on it. To do that, we'll have to add some event commands to the button and add a door. First create the door, which'll only go open when a certain switch is on. 'Left-click > New Quick Event > Door' is great to use as a base. Edit it like this (note that there's two pages):

5-adoorpage1-1.png

5-adoorpage2-1.png

Step 8: Edit the button. Pay close attention to the lines I've used in this event, and make sure to copy them in this order.

6-editingthebutton-1.png

That's it. You've done it. You have created a 'Push the boulder on the button' system, and even made possible for the player to stand on the button, with another effect.

If there's something you did wrong, or if you simply want the project file, download it here: http://www.mediafire...k769gfrs8gi59c3

If there's anything you don't understand, you're free to ask any questions here!

The next tutorial will be about making your life (and this simple system) easier.

Share this post


Link to post
Share on other sites

Ah, I've always wanted to do something like this. Thanks for that, Bird Eater. ^^ It also works for VX, right?

Share this post


Link to post
Share on other sites

Ah, I've always wanted to do something like this. Thanks for that, Bird Eater. ^^ It also works for VX, right?

Sure thing.

Yeah, it works with VX. The rest of the tutorials will probably be VX-compatible too.

Share this post


Link to post
Share on other sites

I must say, I was surprised at the amount of eventing that goes into something as simple as this. 0_o I'd hate to see what the more advanced tutorials look like. lol

Bird Eater and lufan131 like this

Share this post


Link to post
Share on other sites

Awesome tutorial! I must be stupid or something, but I can't find part 2?

Share this post


Link to post
Share on other sites

Uhm, yeah, sorry about that... I never actually made a part 2...

I believe Despain's made a tutorial on eventing that pretty much has everything and more I'd put into a part 2, I think it's also on finalbossblues.com

Share this post


Link to post
Share on other sites

Well, yeah, he got a pretty good explanation about how it should be and ways it have been done in other games, but no instruction for the RPG Maker VX Ace. I know this is a bit demanding, but could you please make a tutorial about pressing... 4 buttons in a sequence for opening a door? It had been really cool since your tutorial was INCREDIBLY AWESOME!
Anyway, Thanks!

Edited by Kantenstain

Share this post


Link to post
Share on other sites

Well, yeah, he got a pretty good explanation about how it should be and ways it have been done in other games, boot no instruction for the RPG Maker VX Ace.

 

huh? the tutorial was made for rmvxace (some images are down because of site redesign, but it goes through each step)

Edited by mumbo jumbo

Share this post


Link to post
Share on other sites

My bad! I searched for puzzle and didn't see that one! Thanks^^

(I couldn't see one picture XD All were gone or to small to see :/)

Edited by Kantenstain

Share this post


Link to post
Share on other sites

o.o... maybe I'm retarded but it's not workin for me... I've crossreferenced EVERYTHING and it's just... not workin

 

Sorry... forgot to post back on here... figured it out. Just had to tinker a wee bit more. Now i have to figure out how to put ALL OF THAT into a practical use 

with my horrid lack of programming and eventing skills xD thanks though

 

it has been VERY informative

Edited by Skye Magus

Share this post


Link to post
Share on other sites

o.o... maybe I'm retarded but it's not workin for me... I've crossreferenced EVERYTHING and it's just... not workin

 

Well, that doesn't make it easy for me to help you...

Why not download the project file at the bottom of the tutorial? It might help you spot any errors you might've made.

Share this post


Link to post
Share on other sites

How can I adapt this to instead of a door opening, a couple odstacles blow up opening a path to an object?

Share this post


Link to post
Share on other sites

How can I adapt this to instead of a door opening, a couple odstacles blow up opening a path to an object?

 

just change the graphic of the door event, maybe throw in an explosion battle animation. the process is the same.

Edited by des

Share this post


Link to post
Share on other sites

im such a noob but how do you set variables to things??

Share this post


Link to post
Share on other sites

I fixed the question i asked up there.

but when i make the boulder go on the switch the text keeps repeating and never ends

Share this post


Link to post
Share on other sites

Not trying to necro here, but I'm not understanding why it is necessary to check the boulder X, Y coordinates a second time.

 

Edit: OK, I think I get it. The game has to check to see if the player and the boulder are on the switch from the start, otherwise the door's self switch will automatically activate since there isn't anything keeping the door closed (this is the conditional branch on bottom). It then checks boulder again to open it (the branch in the middle).

 

Have I got it right?

Edited by undefind

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.