Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[RMVX/XP?] Concerning Music

This has been bugging me for a while now, but is there a way you can stop the music from looping? What I mean is... when you get finished with a fight, is there a way you can listen to the song from where it ended, instead of from the beginning again? I'm kind of a music freak, and this annoys me -.-;

Currently using VX, but maybe if there is a way, you can take it off the same way you could in XP? I dunno, since I don't know how to do it on XP either D:
 

Jason

Awesome Bro

Hmm, I guess you could kind of do this in an event:

Code:
Memorize BGM/BGS
Battle Processing
Restore BGM/BGS

Or to make sure it works (Be on the safe side)
Code:
Memorize BGM/BGS
Battle Processing
   If Win
      Restore BGM/BGS
   If Lose
      Game Over

See if it works lol, I haven't tried it myself :thumb:
 

Jason

Awesome Bro

Ah, I was going off XP, I'll take a look at VX for you :thumb:

Oh man, that DOES suck, I've tried everything, even tried making a small script, but I guess it just didn't work, well, it's not that it didn't work, it just had NO effect at all, so there wasn't an error, haha.

Sorry but this is beyond me, and I bet it's something simple too, haha :thumb:
 
I've got a question that's a little bit different, but still. (I'm using rmxp)
What I want to do this is:
I've got an event which is the piano when you go near it it says something like let's play piano then a piano tune starts. It takes about 1 minute and 30 seconds and then I want it to stop. Then there should pop up a message or something like woow I've got to go to school I'm already late or whatever.
I don't want that the character is able to move while he's playing piano.
Can someone help me?

Thanks a lot,,
Greetz Julian
 
Use a "Wait x Frames" event command. There are 20 frames in a second, so you'd want 1800 frames. After that, put in a "Show Text" command with the message and everything after.

By the way, since this is a completely different topic, you'd be better off making a new thread about it instead of stealing the original creator's  :tongue2:
 
Okay thanks,
and sorry I'll do that next time ;)
It's just that it fitted into Concerning Music and the first sentence of the original poster was kind of my question.
Thanks again.
Grttz,,
Julian
 
Mezmerize":1u8k702m said:
This has been bugging me for a while now, but is there a way you can stop the music from looping? What I mean is... when you get finished with a fight, is there a way you can listen to the song from where it ended, instead of from the beginning again? I'm kind of a music freak, and this annoys me -.-;

Currently using VX, but maybe if there is a way, you can take it off the same way you could in XP? I dunno, since I don't know how to do it on XP either D:

There is no way to do it in either RMVX or RMXP. They're Audio class is particularly simple, and doesn't let you start a file from mid-way through. The only way to accomplish this effect is to get rid of all the code that starts battle music and ends map music, and just have the map music play right through the battle. Or, have it mute before the battle, have absolutely no music for the battle scene, then have it unmute after the battle.

Neither of which way is particularly pretty.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top