HELP WITH WAITING
Posts
Pages:
1
Imagine the following, I have a character and a piano, and I want this: The character interacts with the piano and stands there while the music is playing, to give the idea that the character is playing, but I don't know how to do it. Help?
Having the character animate somehow (At the very least, the "Stepping Animation".), whilst at the piano, would help the illusion that it's the character playing the song.
I don't get this request for help, though. Can't you just use "Wait" for about as long as the music file itself plays? Though, saying that, players might not necessarily want to sit and stare at the screen for much longer than a minute, regardless of how epic the music is.
I don't get this request for help, though. Can't you just use "Wait" for about as long as the music file itself plays? Though, saying that, players might not necessarily want to sit and stare at the screen for much longer than a minute, regardless of how epic the music is.
Ok, let me reformulate this: That idea of the Stepping was some thing that I forgot, so thanks, and about that the staring time, I wanted to, for example, press a key to stop the music, but due to my inexpirience, I'm afraid that I don't know how to do it. If there was a music epic to that level, I wouldn't have that problem.
To abort at any time you could create a conditional branch tracking a variable that loops until it reaches a certain number.
Set Wait 0.1 inside the branch and increase the said variable by 1. If it reaches track-time-in-seconds*10, the music has ended and controls are resumed. Also add a branch inside that checks if you press a button to abort the playing. Reset the music variable back to 0.
Hope this is correct.
I assume it's rm2k3?
Set Wait 0.1 inside the branch and increase the said variable by 1. If it reaches track-time-in-seconds*10, the music has ended and controls are resumed. Also add a branch inside that checks if you press a button to abort the playing. Reset the music variable back to 0.
<>Prepare stuff ex: play music
<>Key Input Processing: 0001: Key (map a key)
<>Loop
<>Wait 0.1
<>Variable 0002: Music + 1
<>Branch if Var 0002: Music is (track time in sec*10) or more
<>Break Loop
<>
: End
<> Branch if Var 0001: Key is (mapped key)
<>Break Loop
<>
: End
<>
: End Loop
<> Turn things back. ex: end music
Hope this is correct.
I assume it's rm2k3?
Key Input Processing is not something that is among the event commands in VX, sadly. It's in XP's event commands, though. Not sure if crazyexplorer wants to move the project into XP wholesale because of that, though.
Is there a "wait" command in vx, then you could see how long the music is, command "wait that much time"?
Yes, but I don't want the player to stare at the screen while the music is playing
(about 3min 20 sec). I want them to be able to stop the music by pressing a key. Am I the only one that ever thought of doing this?
(about 3min 20 sec). I want them to be able to stop the music by pressing a key. Am I the only one that ever thought of doing this?
Well, I don't know how to emulate Key Input Processing in VX, but how important is it that the player-controlled character plays the song? If it's not important, I'm thinking you could have an NPC switch the music instead and allow players to keep chugging at the game. That gives players something to do other than stare at the screen. Also, using that method, the music would stop/change whenever a map (or other event) says that the music should stop/change.
You know, that's not bad. Not bad at all. I just got a great idea. Thanks for the help. (And why did I forgot that? I used to see that in Chrono Trigger.)
If it's a Piano, if it were instead, something on 2k3 or XP, you could have the Input Key command work where it plays a Note with each key pressed, so that you could ACTUALLY make music, instead of playing a song.
LockeZ
I'd really like to get rid of LockeZ. His play style is way too unpredictable. He's always like this too. If he ran a country, he'd just kill and imprison people at random until crime stopped.
5958
In RPG Maker VX, button input checking is handled entirely in a conditional branch. Create a conditional branch, and make the condition be "A button is being pressed." Put that conditional check in a loop. If the condition is true, break out of the loop.
author=LockeZ
In RPG Maker VX, button input checking is handled entirely in a conditional branch.
Sure enough, it's on Page 4 of Conditional Branch. I was wondering how the heck I got a basic boomerang idea to work, because I know I attached the 'rang's code to the "Z" key!
*Feeling like an idiot*
LockeZ
I'd really like to get rid of LockeZ. His play style is way too unpredictable. He's always like this too. If he ran a country, he'd just kill and imprison people at random until crime stopped.
5958
author=chana
Sure took your sweet time, LockeZ..
Excuse me, all my girlfriends say I am exactly slow enough.
Pages:
1


















