Skip to content

Conversation

PurSnake
Copy link
Contributor

@PurSnake PurSnake commented Oct 9, 2025

Linked Issues

#6021

Description

Adds new define on compilation for desktop platforms, to reduce game volume, when user unfocuses it.

@github-actions github-actions bot added status: pending triage Awaiting review. size: large A large pull request with more than 100 changes. pr: haxe PR modifies game code. and removed status: pending triage Awaiting review. size: large A large pull request with more than 100 changes. labels Oct 9, 2025
@PurSnake
Copy link
Contributor Author

PurSnake commented Oct 9, 2025

Someone probably will request some changes
Im down for them

@github-actions github-actions bot added the size: large A large pull request with more than 100 changes. label Oct 10, 2025
@Hundrec Hundrec added status: pending triage Awaiting review. type: enhancement Involves an enhancement or new feature. labels Oct 12, 2025
@Hundrec Hundrec changed the title [ENHANCEMENT] Feature - Lost/Gain Application Focus Volume Change [ENHANCEMENT] Option to reduce volume when focus is lost Oct 14, 2025
@Hundrec Hundrec added status: needs revision Cannot be approved because it is awaiting some work by the contributor. and removed status: pending triage Awaiting review. labels Oct 20, 2025
@Hundrec
Copy link
Member

Hundrec commented Oct 20, 2025

Got some notes for this PR:

  • This is a good idea! The team likes it
  • This should not be an option, so you should remove the Preference altogether.
  • It should be "Instant", and it should be set to 50% volume.

The key thing is that this shouldn't be an option, so the game will always cut the volume in half on focus loss.
Please make these changes and I'll pull this in for review!

@Hundrec Hundrec linked an issue Oct 20, 2025 that may be closed by this pull request
3 tasks
@PurSnake
Copy link
Contributor Author

Okaye

@TechnikTil
Copy link
Contributor

also theres merge conflicts

@github-actions github-actions bot added size: medium A medium pull request with 100 or fewer changes. and removed size: large A large pull request with more than 100 changes. labels Oct 20, 2025
@PurSnake PurSnake force-pushed the feature-lost-focuse-volume-shit branch from 6cc1cfe to 8bd95b4 Compare October 20, 2025 16:57
@github-actions github-actions bot added size: large A large pull request with more than 100 changes. and removed size: medium A medium pull request with 100 or fewer changes. labels Oct 20, 2025
@github-actions github-actions bot added size: medium A medium pull request with 100 or fewer changes. and removed size: large A large pull request with more than 100 changes. labels Oct 20, 2025
@PurSnake PurSnake changed the title [ENHANCEMENT] Option to reduce volume when focus is lost [ENHANCEMENT] Reduce volume when focus is lost Oct 20, 2025
@PurSnake
Copy link
Contributor Author

Done

Copy link
Member

Hundrec commented Oct 20, 2025

Yay thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. status: needs revision Cannot be approved because it is awaiting some work by the contributor. type: enhancement Involves an enhancement or new feature.

Development

Successfully merging this pull request may close these issues.

Enhancement: Lower game volume when losing focus

3 participants