NEED HELP ON PAUSE SE WHILE RPG GAME NOT ACTIVE.

● ARCHIVED · READ-ONLY
Started by chelle01411 13 posts View original ↗
  1. hello, we have our "pause" in our game and it works only once you press the "ALT" key the game will pause and it will display a "PAUSE" picture but the SE does not stop and but if you didn't, it will not pause the game.

    So what we need is your magnificent help on making our game pause automatically and display "PAUSE" picture, then pause the SE when the rpg project window is not active or when the player switch on other window. But when the window is active, it will continue the game by pressing the "ALT" button again..
  2. It's a flaw - the audio does not pause while the game has lost focus.
  3. Is there any cure/solution for it?
  4. Another flaw is that Audio::BGM#replay does a fade-in. But if that is acceptable to you, then just copy the DLL in the System folder, the script (under Materials) and the pause.png (you can use your own, of course) from Graphics\System.
  5. thank you for your help, does it really display "PAUSE" picture in just a sec? what If I am playing then, I switch to other wndow, then "PAUSE" will be display as I return to the rpg window, then I need to press a key before everything will resume?
  6. how about making the SE pause and replay to where it stops? :)
  7. chelle01411 said:
    thank you for your help, does it really display "PAUSE" picture in just a sec? what If I am playing then, I switch to other wndow, then "PAUSE" will be display as I return to the rpg window, then I need to press a key before everything will resume?
    That you have to press a button to unpause is possible, but wasn't part of your request:

    chelle01411 said:
    display "PAUSE" picture, then pause the SE when the rpg project window is not active or when the player switch on other window. But when the window is active, it will continue the game.

    chelle01411 said:
    how about making the SE pause and replay to where it stops? :)
    It can be only done for BGM and BGS with the default audio engine. SE are usually very short, unless you're doing something wrong. So use a BGM or BGS, and it'll replay them at the position where they were stopped.
  8. I am using a timer sound as an SE and it does not stops as the game pause. So what I am thinking is that I will just make it as BGS or BGM, but I am confused of what is the difference of BGS and BGM?

    And I have edited my request, please help me about pressing a key such as "ALT" before the game will continue or before everything resumes.

    PLEASEEEE. It is for our thesis. :'(
  9. The BGM stands for BackGroundMusic.


    The BGS stands for BackGroundSound.


    So, you use a BGM to play a music in your game usually.


    And if you want to play another sound with the BGM still playing, you use a BGS.


    If you want to play a music while playing that sound you want too, you need to use a BGS.


    If you want the music to be stopped while you play that sound you want, you can use a BGM.


    At any given time, only one BGM and one BGS can play together.
  10. Oh, I see. I have pasted the updated script, but still it is not working, though I have set the last number. There are really still squares. :(
  11. cremnophobia said:
    That you have to press a button to unpause is possible, but wasn't part of your request:

    It can be only done for BGM and BGS with the default audio engine. SE are usually very short, unless you're doing something wrong. So use a BGM or BGS, and it'll replay them at the position where they were stopped.
    Please cremnophobia, please help us, we are really in need of that event where the player needs to press a key before it will resume the game.
  12. chelle01411, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.
  13. Oh, I'm sorry. But please help me.