Skip to content

Enhancement: Lower game volume when losing focus #6021

@stringfromjava

Description

@stringfromjava

Issue Checklist

  • I have read the Contributing Guide
  • I have checked the Issues/Discussions pages to see if my enhancement has already been suggested
  • I have properly titled my enhancement

What is your suggestion, and why should it be implemented?

I personally think that the base game could have a very nice feature for the game's volume.

As said in the title above, I propose we should add a feature to the base game which lowers the volume when the game's window loses focus or is minimized; and when the game regains focus, it brings it back up to the original volume the user had it at.

To demonstrate how this could look, I scripted this into a mod (don't worry the code is readable unlike most mod's scripts I promise 💔).

[Mod Link] -> https://gamebanana.com/mods/620303

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: pending pull requestDependent on a pull request that is currently awaiting review.topic: polishInvolves minor polish to the UI or gameplay.type: enhancementInvolves an enhancement or new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions