Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> [XP/VX/VXA] Waiting until Button Input
PK8
post Sep 6 2012, 10:50 AM
Post #1


I walk the long road to redemption.
Group Icon

Group: Local Mod
Posts: 179
Type: Scripter
RM Skill: Advanced
Rev Points: 40




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.
Screen Shot


And it's blank.
Screen Shot


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.
Screen Shot


Click it, and it gets placed into the Contents box. So far so good.
Screen Shot


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.
Screen Shot


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).
Screen Shot


4. Create a Conditional Branch.
Now set up a conditional branch.
Screen Shot


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.)
Screen Shot


Your Contents box should now look something like this:
Screen Shot


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.
Screen Shot


And here's the result! 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. smile.gif
Screen Shot


__________________________
Go to the top of the page
 
+Quote Post
   



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 11:59 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker