How to make a moving block puzzle

This guide will show you to make a puzzle where you can have a character move a block from point A to point B, and thus trigger a door opening.

In this example we will be weighing Down a switch

FIrst off you need the Core Elements of the Puzzle in Place. You need a door that Only opens when the switch BLOCKPUZZ is on (You can name the Switch anything you wish.. but this is the name I will be using)

You need a Switch to be weighed down (make sure its set below hero and there's a message along the lines that it has to be weighed down

And You need a Block, (or chest, or pot or whatever) (let's call it Bob)

In the Blocks events command, have the first command as a move event to step away from the hero once.

Now Comes the Tricky Part.... Set up a Change Variable command, so the Variable is SET according to Bob's X Coordinates (the set up should be like this)

Now right after that, Set up a new Change Variable that sets according to Bob's Y coordinates (make sure its a totally new Variable.. call it Boby)

Now the event Should be set up like this.

Now you need the X and Y Coordinates of the switch. (This information is easily obtained by clicking on the event once and looking right below the horizontal scroll bar.)

Let's say the Coordinates are 13 and 8

Now make a Parallel Process Event. Set up a Fork Conditions so that if the Variable Bob x Equals 13.

(you don't really need an else case, I just forgot to uncheck it)

Now withen THAT Fork Condition make another fork Condition Set up so that the Condition is Boby = 8

Then withen THAT fork condition, Turn the Switch BLOCKPUZZ on.

(the final product should look like this.)

Now if you want to add a sound effect or a flash screen effect that would be great too.

For the final step, make a new page in the block event whose condition is the switch BLOCKPUZZ is on. Have a message saying you can't move it.

Now that should just about do it.

Now for some theory.

Remember all great Magicians Don't just do the same trick over and over.. they Vary it. So you can do multiple Blocks, Blocks that move more then one space, even Blocks that move on their own.

How to section

Main