- Joined
- Aug 8, 2013
- Messages
- 358
- Reaction score
- 14
- First Language
- English
- Primarily Uses
- RMVXA
So I've got a puzzle of sorts that requires the player to perform actions in a specific order. I've looked up how to make sequential puzzles before, but after following what worked for them, it appears I am either doing it wrong, or our puzzles are just different enough that I need something different.
My "puzzle" so to speak is playing a 9-note ditty on a toy piano for a character, notes corresponding with numbers on your keyboard. So, I set up a "controller event" of conditional branches that would check to see if you've pressed the right numbers in the right order (by the way, the sequence is 3 2 3 1 5 3 8 7 2, so yes the sequence of script calls are correct).
The first page would check to see if the first key in the sequence has been pressed, turning on the piano switch.
This is where the conditional branches would be. Each time you got one right, it would add +1 to the Piano variable, and then check to see if you got the next one. But if not, if would set the variable back to zero, and turn off the piano switch, which I would assume send you back to the first page?
(Okay when I was working with this I had screencapped the page above before adding a third page, but this event does have a third page in the next screencap)
Then, after you get each key done in the right sequence, it would add up to +8 of the variable, which the third page would check.
I just have "Yay!" there in place of me designing the rest of the scene.
I'd think that this would work, but obviously I'm doing something wrong. Can anyone help?
My "puzzle" so to speak is playing a 9-note ditty on a toy piano for a character, notes corresponding with numbers on your keyboard. So, I set up a "controller event" of conditional branches that would check to see if you've pressed the right numbers in the right order (by the way, the sequence is 3 2 3 1 5 3 8 7 2, so yes the sequence of script calls are correct).
The first page would check to see if the first key in the sequence has been pressed, turning on the piano switch.
This is where the conditional branches would be. Each time you got one right, it would add +1 to the Piano variable, and then check to see if you got the next one. But if not, if would set the variable back to zero, and turn off the piano switch, which I would assume send you back to the first page?
(Okay when I was working with this I had screencapped the page above before adding a third page, but this event does have a third page in the next screencap)
Then, after you get each key done in the right sequence, it would add up to +8 of the variable, which the third page would check.
I just have "Yay!" there in place of me designing the rest of the scene.
I'd think that this would work, but obviously I'm doing something wrong. Can anyone help?
Last edited by a moderator:



