The background music isn't aware of the game's status

A forum for chatting about in-development game features.
Post Reply
bjg
Posts: 639
Joined: Wed Feb 03, 2016 10:55 pm

The background music isn't aware of the game's status

Post by bjg »

If you minimize (or switch out of) the game the background music still plays. It plays even if the session times out and locks down. The screen will turn off, but the music plays. Having the same issue with another game, so it's probably a "standard" implementation, but I don't think this is right.
User avatar
Arioch
Posts: 1403
Joined: Sun Feb 01, 2015 12:56 am
Location: San Jose, California
Contact:

Re: The background music isn't aware of the game's status

Post by Arioch »

In order to play continuously, sound necessarily has to be controlled in a separate thread of execution, and so the sound can sometimes get detached from other game processes. Since many games use the same third-party libraries, they often break in similar ways. :D

Some games have an option to play/not play sound when the game is not the foreground process, but that seems like kind of a fringe feature to me. I do think it would be nice to have a "mute" checkbox so that one doesn't have to rejigger all three volume levels every time you need to temporarily mute the game.
bjg
Posts: 639
Joined: Wed Feb 03, 2016 10:55 pm

Re: The background music isn't aware of the game's status

Post by bjg »

Arioch wrote:Some games have an option to play/not play sound when the game is not the foreground process, but that seems like kind of a fringe feature to me. I do think it would be nice to have a "mute" checkbox so that one doesn't have to rejigger all three volume levels every time you need to temporarily mute the game.

Perhaps you can make that sensor to push that "mute" button (also available through UI). ;)
Maybe make it optional.
Post Reply