NEED HELP ON PAUSE SE WHILE RPG GAME NOT ACTIVE.

chelle01411

Veteran
Veteran
Joined
Jul 31, 2014
Messages
31
Reaction score
0
First Language
English
Primarily Uses
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..
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
It's a flaw - the audio does not pause while the game has lost focus.
 

chelle01411

Veteran
Veteran
Joined
Jul 31, 2014
Messages
31
Reaction score
0
First Language
English
Primarily Uses
Is there any cure/solution for it?
 

cremnophobia

Veteran
Veteran
Joined
Dec 10, 2013
Messages
216
Reaction score
97
Primarily Uses
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.
 
Last edited by a moderator:

chelle01411

Veteran
Veteran
Joined
Jul 31, 2014
Messages
31
Reaction score
0
First Language
English
Primarily Uses
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?
 

chelle01411

Veteran
Veteran
Joined
Jul 31, 2014
Messages
31
Reaction score
0
First Language
English
Primarily Uses
how about making the SE pause and replay to where it stops? :)
 

cremnophobia

Veteran
Veteran
Joined
Dec 10, 2013
Messages
216
Reaction score
97
Primarily Uses
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:

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

chelle01411

Veteran
Veteran
Joined
Jul 31, 2014
Messages
31
Reaction score
0
First Language
English
Primarily Uses
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. :'(
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
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.
 

chelle01411

Veteran
Veteran
Joined
Jul 31, 2014
Messages
31
Reaction score
0
First Language
English
Primarily Uses
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. :(
 

chelle01411

Veteran
Veteran
Joined
Jul 31, 2014
Messages
31
Reaction score
0
First Language
English
Primarily Uses
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.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
chelle01411, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.
 

chelle01411

Veteran
Veteran
Joined
Jul 31, 2014
Messages
31
Reaction score
0
First Language
English
Primarily Uses
Oh, I'm sorry. But please help me.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,050
Members
137,571
Latest member
grr
Top