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.

Make the music/sound pause when alt+tabbed out of the game window..?

Arrrgggg this drives me nuts, especially when I do the music dependent scenes. I end up having to note "Please don't alt tab while ___ is going on" because when they switch window, the music keeps going and the events don't, hence the pace is screwed.

Is it possible to make it so that when the program is not the active window (e.g. when alt+tabbed to chat on msn while the game window's still on), to stop all the sounds; and when tabbed back, all the sounds resume at where they left off at? I'm assuming RGSS is the only way to do it if it is possible.

Thanks in advance!
 

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