I've built a pushable boulder puzzle in my game. Here the player descends from the stairs and must push the two bowling balls onto both of the floor switches. Once both balls are on the floor switches, the laser door vanishes and the player can grab the treasures. I was able to do a single push boulder puzzle by watching Echo607 on youtube, but that was for one boulder and one trigger. I have two of both. Can someone give me a walkthrough on how to do a double pushable boulder puzzle?
Double pushable boulder puzzle.
RPG Maker MV SupportIt shouldn't be hard if you did it right for the first boulder.
It's all about storing X and Y pos of Event1 (boulder1) on a double conditional branch, when conditions are met first trigger1 activates.
Now do the same for the 2nd boulder (with the same variables).
Now do it again for the first boulder, and then the 2nd one, using 2 diff variables (trigger2).
Here starts the fun. Consider each possibility and insert 'em into a conditional branch. (X1+Y1 Ev1 for Tr1, X2+Y2 Ev1 for Tr2, ... and so on)
Then I go for Pen n paper to track down possibilities.
At the end you'll test it and discover that you missed one (it happens to me a lot with huge branches) and you can fix it 😛
It's easy once you get your hands on it, programming a puzzle game is the real puzzle game. I have a set of conditional branches to evolve my character into 1 out 36 possibilities according to its stats.
Keep focused and pen & paper!
It's all about storing X and Y pos of Event1 (boulder1) on a double conditional branch, when conditions are met first trigger1 activates.
Now do the same for the 2nd boulder (with the same variables).
Now do it again for the first boulder, and then the 2nd one, using 2 diff variables (trigger2).
Here starts the fun. Consider each possibility and insert 'em into a conditional branch. (X1+Y1 Ev1 for Tr1, X2+Y2 Ev1 for Tr2, ... and so on)
Then I go for Pen n paper to track down possibilities.
At the end you'll test it and discover that you missed one (it happens to me a lot with huge branches) and you can fix it 😛
It's easy once you get your hands on it, programming a puzzle game is the real puzzle game. I have a set of conditional branches to evolve my character into 1 out 36 possibilities according to its stats.
Keep focused and pen & paper!
It would help if you showed a screenshot of the actual event so we can see what you might've done wrong.
I'm not really following what @SIDD is recommending with different variables and each possibility and many conditional events that require pen and paper 😛
All you'd do is put a region ID on the two buttons (in my example, Region 2). Each boulder has the same event commands - the player moves them, then they check to see if both boulders are on that region ID. There's only one possibility.
I'm not really following what @SIDD is recommending with different variables and each possibility and many conditional events that require pen and paper 😛
All you'd do is put a region ID on the two buttons (in my example, Region 2). Each boulder has the same event commands - the player moves them, then they check to see if both boulders are on that region ID. There's only one possibility.
I tried copying what you did here, but I have no idea what specific variables some of those are. i've named boulder number one and two "Black Orb 1 and 2" The locations of the two floor switches are : X=3 Y=8 and the other one's X=5 and Y=8. I know I seem dumb, but I'm really new at this program and need some step by step instructions.
I'm not sure what you're asking me. As I already said, the coordinates of the switches are irrelevant - you give them a Region ID.
The names of the boulders don't matter, just select the correct event in the four Control Variables commands I showed above.
There's no such thing in MV as "specific variables" - you use whatever variable IDs you want.
If you can't figure it out based on what I said and posted (showing an event is pretty much step-by-step instructions 😛 ) then show a screenshot of your events and describe what isn't working.
The names of the boulders don't matter, just select the correct event in the four Control Variables commands I showed above.
There's no such thing in MV as "specific variables" - you use whatever variable IDs you want.
If you can't figure it out based on what I said and posted (showing an event is pretty much step-by-step instructions 😛 ) then show a screenshot of your events and describe what isn't working.
I'm not sure about your puzzle, if Boulder1 has to be on trigger1 and Boulder2 on trigger2 or if it's either way. If the first case, all you need is to repeat steps you did for boulder1 on boulder2 event (using 2sets of separate variables for x/y); otherwise you'd have to consider possibilities (8 possibilities).
Anyway Turan is much more expert than me so he prolly knows a quicker and safer way to solve the issue.
In the img there's my 1 boulder puzzle event (it's separate from the boulder)
Anyway Turan is much more expert than me so he prolly knows a quicker and safer way to solve the issue.
In the img there's my 1 boulder puzzle event (it's separate from the boulder)
@SIDD I put mine on the boulders because you want to avoid making any parallel events you don't need to.
And when you do make parallel events, you almost never want them to not have a Wait at the end - having too many parallel events running every single frame is how you can create lag in your game.
Since the state of this puzzle can only possibly change after a boulder has moved, that's the only time you logically need to bother checking.
And when you do make parallel events, you almost never want them to not have a Wait at the end - having too many parallel events running every single frame is how you can create lag in your game.
Since the state of this puzzle can only possibly change after a boulder has moved, that's the only time you logically need to bother checking.
Ty, I learned a lot from your comment.
Back to the opening question, each boulder should need a double path of conditional branches in order to placed on both triggers (if X1Y1 then trigger1, if X2Y2 then trigger2) and then another two (if trigger1 or 2 is ON, then conditions for trigger 1 or 2 should be off for 2nd boulder) so that it prevents both boulders to be activated on the same switch. Or in alternative a switch to turn off the activated trigger.
It would help if the thread opener posted his event so we could help more
Back to the opening question, each boulder should need a double path of conditional branches in order to placed on both triggers (if X1Y1 then trigger1, if X2Y2 then trigger2) and then another two (if trigger1 or 2 is ON, then conditions for trigger 1 or 2 should be off for 2nd boulder) so that it prevents both boulders to be activated on the same switch. Or in alternative a switch to turn off the activated trigger.
It would help if the thread opener posted his event so we could help more
That's not necessary - two events that have Priority: Same as characters can't be moved onto the same tile.
You would have to intentionally turn Through: On, which I didn't show in my event.
The single pair of conditional branches that I showed above will work fine.
Original thread: https://forums.rpgmakerweb.com/threads/double-pushable-boulder-puzzle.171025/