The RPG Maker Resource Kit

Other Game Creation => Game Creation General Chat => Topic started by: Master_of_Time on March 06, 2007, 12:33:27 AM

Title: Need Help with a unique puzzle
Post by: Master_of_Time on March 06, 2007, 12:33:27 AM
Hey there.

Can anyone help me set up a puzzle like this:

There are two statues in the room. They must be moved to two designated spots in the room. You cannot push them, but when
you move, they move. One moves the same direction you move (you move left, it moves left) and the other moves opposite (you
move left, it moves right)

How can I make it so that the game will recognize when the statues are where they need to be and how do I get it so that when
they make an impossible move, like running into you, each other, a wall, etc., the game won't freeze. I've tried everything to get
this puzzle to work but I am stuck.
Title: Re: Need Help with a unique puzzle
Post by: Kan on March 06, 2007, 06:44:39 PM
Sooo... have you even gotten the statues to move the way you want them to?
Title: Re: Need Help with a unique puzzle
Post by: Yawgmothsbud on March 06, 2007, 10:57:11 PM
Thinking about how to try to do this in rpg maker XP gives me a new appreciation for the makers of Zelda games  ::)

Sorry I don't have any suggestions, but when you get it working, do upload at least that puzzle so we can see how you did it. It sounds very cool and I would probably learn alot from taking a peek at it  ;D
Title: Re: Need Help with a unique puzzle
Post by: Master_of_Time on March 06, 2007, 11:37:38 PM
I can get the statues to move, yes. But If they try to make an impossible move, the game freezes.
Also, I can't get it so that the door to the next room unlocks when they're in the right place.

And, yes, I did get the idea from Zelda: Twilight Princess. that was my favorite puzzle in the game.
Title: Re: Need Help with a unique puzzle
Post by: Static_J on March 08, 2007, 07:11:38 AM
Here you go.  Took me a little while but I figured it out.  Just change that lone event at the top to unlock a door instead of taking you back to the Title screen.   ;)

Title: Re: Need Help with a unique puzzle
Post by: Ericmor on March 08, 2007, 04:36:23 PM
I did the same puzzle, not long ago. Make it like this: the "Statue" event has a condition parameter that checks its event x/y position with the x/y position of a empty, passable "statue target" event. On the STARTING position of the first push -where the player's suppose to stay first- there's a "start push position" parameter that checks if the player's is in that position AND turned into the right direction - then, the statue moves and... bah, better show than write. I have the whole thing on this attachment.  ;)