Save-Point
Making a "Wait Until Button Input" - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Tutorials (https://www.save-point.org/forum-19.html)
+--- Thread: Making a "Wait Until Button Input" (/thread-4162.html)



Making a "Wait Until Button Input" - PK8 - 05-22-2012

This is probably one of those rare moments where I actually write a tutorial. It's something I just learned about, and I consider myself to be a bit terrible at explaining things but I hope it helps. (And I'm going to assume you're familiar with some of RPG Maker's event commands.)

With this tutorial, I hope to teach you how to create your own Wait Until Button Input. This is probably useful should you want to pause your evented cutscene and then let the player know to keep going by pressing a particular button or two.

1. Create an Event.
We will start off by creating a new event.
[Image: 2czgpw.png]

And it's blank.
[Image: 2nhkh9f.png]

2. Set up the loop.
Alright, in all seriousness, let's get started. First, you want to create a loop. Let's look for it.
[Image: mcf12f.png]

Click it, and it gets placed into the Contents box. So far so good.
[Image: 2q3zor7.png]

3. Make a Wait Command.
Next up, you'll want to place a Wait Command inside the loop in order to prevent your game from completely choking.
[Image: 15pg0w6.jpg]

Now you should set up the wait frames. You could choose a small number. I prefer 1 (unless the game gets intensely laggy for me).
[Image: 2vabl9h.png]

4. Create a Conditional Branch.
Now set up a conditional branch.
[Image: 1agbr.png]

Head into Tab 4 and Click the radio button next to "Button". Set the Input Button to whatever you wish. (If you're new to RMing, just go with C for now.)
[Image: x0sqix.png]

Your Contents box should now look something like this:
[Image: 2nicron.png]

5. Break the Loop upon pressing the button.
Just one more thing we need to do. Head to the Event Commands and look for Break Loop.
[Image: qrg9bs.png]

And here's the final product! Hope you enjoyed the image-heavy tutorial. I'm sure you guys can pull something a little more creative than what I just did, but I hope it helped all the same. :)
[Image: b99fl.png]


RE: [XP/VX/Ace] Making a "Wait Until Button Input" - yamina-chan - 05-28-2012

One Picture is missing, but it's not a big deal. It's still easy to follow and I think this will help someone at some point ^^