RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] buttons and boxes

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 88
I'm working on a puzzle where you have to push several boxes onto buttons to reveal a chest, but the whole thing is so full of switches and variables that if anything goes wrong, it takes me forever just to figure out what happened. There must be an easier way to do this, so I'm asking for your input.

How should I go about setting up this puzzle so it's as painless as possible for me?

(I'm using XP)
« Last Edit: June 13, 2007, 05:19:40 AM by Erk64 »
Spoiler for My Game Recommendations:
1) Demon Gate --- A great game with a terrific character-relationship system, an engaging story, and plenty of secrets and options for players who wish to be good/evil.
http://www.raizap.com/demongate/

2) Midnight --- A survival-horror game created with RPG Maker XP. Combat plays out in the smoothest running real-time battle system I have seen yet.
http://rmrk.net/index.php/topic,23239.0.html

3) The Healer --- A charming game with beautiful mapping and a fun battle system. One of the few games to use a healer as a main character, and so far it's pulled off well.
http://rmrk.net/index.php/topic,23524.0.html

*
A Random Custom Title
Rep:
Level 96
wah
Just like scripting, it's important to put commenting in. I recommend you use those as you go along. Anyways... Just make a variable which I will call "Chest" here. Anyways, make it so that when there is an "Event Touch" or "Collision," the switch event will add 1 to "Chest," turn on Self-Switch A, and go to a blank page. (Make sure each switch is set to "Through") Then, make an event for a chest that has a precondition of variable "Chest" at the number of switches. That was sooooooo unclear. Try to understand it to the best of your ability. :P

**
Rep:
Level 88
I understand it well enought when the player activates the button/switch by stepping on it, but how do you go about activating a switch when you try to push an object on top of it? (Think Zelda)
Spoiler for My Game Recommendations:
1) Demon Gate --- A great game with a terrific character-relationship system, an engaging story, and plenty of secrets and options for players who wish to be good/evil.
http://www.raizap.com/demongate/

2) Midnight --- A survival-horror game created with RPG Maker XP. Combat plays out in the smoothest running real-time battle system I have seen yet.
http://rmrk.net/index.php/topic,23239.0.html

3) The Healer --- A charming game with beautiful mapping and a fun battle system. One of the few games to use a healer as a main character, and so far it's pulled off well.
http://rmrk.net/index.php/topic,23524.0.html

*
A Random Custom Title
Rep:
Level 96
wah
Yeah, shouldn't event touch work? You can just have a conditional branch that checks if the hero's X and Y are equal to the switch's place so that the hero itself can't activate the switch.

******
Rep:
Level 89
Let's attack agressively.
I understand it well enought when the player activates the button/switch by stepping on it, but how do you go about activating a switch when you try to push an object on top of it? (Think Zelda)

ah....well this is one puzzle im using for my game so.......

Make a Event, i will call it "Block", Collision with hero, and put a move event: This Event, Face Hero, Step Away from Hero. Now then make a new event, i will call it "Switch Checker", put inside a conditional branch that check if "Block"'s X and Y is equal to the area where the switch is, if the X and Y coordinates matches, put a Switch operation and make switch "Puzzle Solved1". Now put in the doors event (if theres one) a new page with th precondition "Puzzle Solved1" is on, leave it blank and change the grafic to a open door or whatever it is.....and there you go.

oh.dont forget to make a new event, i will call it "Swithc Checker2" and put inside if Hero's X and Y is equal to the area where the switch is, turn the switch "Puzzle Solved1", and in the else handler switch operation "Puzzle Solved1" off.....so when the hero moves out of the place, the door will close....... :D (note i use 2k3, put if your not using script, it will work the same)

Still confuse, fell free to ask

**
Rep:
Level 88
I don't think you can check to see if the X and Y of the block and the switch are equal using conditional branches in rmxp. Or would I have to use variables...?
Spoiler for My Game Recommendations:
1) Demon Gate --- A great game with a terrific character-relationship system, an engaging story, and plenty of secrets and options for players who wish to be good/evil.
http://www.raizap.com/demongate/

2) Midnight --- A survival-horror game created with RPG Maker XP. Combat plays out in the smoothest running real-time battle system I have seen yet.
http://rmrk.net/index.php/topic,23239.0.html

3) The Healer --- A charming game with beautiful mapping and a fun battle system. One of the few games to use a healer as a main character, and so far it's pulled off well.
http://rmrk.net/index.php/topic,23524.0.html

******
Rep:
Level 89
Let's attack agressively.
well if you cant do that....you'll have to use variable

**
Rep:
Level 88
...Okay, I think I got it. I appreciate your help. This should work. Thanks!
Spoiler for My Game Recommendations:
1) Demon Gate --- A great game with a terrific character-relationship system, an engaging story, and plenty of secrets and options for players who wish to be good/evil.
http://www.raizap.com/demongate/

2) Midnight --- A survival-horror game created with RPG Maker XP. Combat plays out in the smoothest running real-time battle system I have seen yet.
http://rmrk.net/index.php/topic,23239.0.html

3) The Healer --- A charming game with beautiful mapping and a fun battle system. One of the few games to use a healer as a main character, and so far it's pulled off well.
http://rmrk.net/index.php/topic,23524.0.html

******
Rep:
Level 89
Let's attack agressively.
np Erk64  ;)