Ability to check if game in focus
Moderator: Moderator
Ability to check if game in focus
Would be handy to have an ability to check if the game is in focus. Real-time modules could then auto-pause when unfocused, and ones with weird real-time sound engines could stop playing sound.
Re: Ability to check if game in focus
Done, you can now superload the Game:idling(focus) method.
Focus will be true if gaining focus, false if loosing it.
The default idling method also defines a game.has_os_focus field to remember the state
Focus will be true if gaining focus, false if loosing it.
The default idling method also defines a game.has_os_focus field to remember the state
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
