-
Notifications
You must be signed in to change notification settings - Fork 963
Implement FX sound effects #3394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
evanpelle
merged 30 commits into
openfrontio:main
from
camclark:feature/fx-sound-effects
Apr 7, 2026
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
76d7174
Add FX sound effects for combat events
camclark 9b4bb9a
Decouple sound playback from visual FX toggle and fix Prettier format…
camclark 3d0c1c7
Wire up all approved sound effects from sound pack
camclark 03685f4
Fix AllianceBroken sound playing for disconnected players
camclark ee947fb
Move AllianceBroken sound into addEvent branches
camclark 1eeeed6
Merge branch 'main' into feature/fx-sound-effects
camclark 8c785f9
Merge upstream/main into feature/fx-sound-effects
camclark c578fa8
Fix Prettier formatting in SoundManager.ts
camclark e452347
Refactor SoundManager from singleton to DI, lazy-load sound effects
camclark 84438f9
Add fixed channel limit (4) with priority-based preemption for sound …
camclark 11521e8
Merge remote-tracking branch 'upstream/main' into feature/fx-sound-ef…
camclark ff8af6d
Fix lobby leave path to stop background music, run prettier
camclark 85efb84
Fix double-removal in channel preemption when stop fires synchronously
camclark 14dee38
Make loadSoundEffect and unloadSoundEffect private
camclark bb3e259
Address remaining CodeRabbit nitpicks
camclark fafbbfb
Fix incorrect priority comments in channel tests
camclark 33724dc
Remove dead code, fix remaining comment inaccuracies, add volume prop…
camclark 24c3abd
Remove sound channel cap and priority preemption
camclark 60b03bb
Switch sound dispatch from DI to EventBus
camclark d110664
Remove ISoundManager interface, rename file to SoundEvents.ts
camclark f6bcb49
Make SoundManager resilient to Howler errors
camclark 916935d
Merge branch 'main' into feature/fx-sound-effects
camclark 486a049
Dispose SoundManager on runner stop and guard AllianceSuggested sound
camclark 5769074
Rename SoundEvents to Sounds, enum to type union, move sound config
camclark f45e264
Add channel limit of 8 with stop-oldest strategy
camclark 25a66ca
Remove unused soundManager variable in channel tests
camclark 522a3ce
Merge remote-tracking branch 'upstream/main' into feature/fx-sound-ef…
camclark b339d3d
Export MAX_CONCURRENT_SOUNDS and use it in tests
camclark 9ffb7a2
Tighten channel-freed test assertion
camclark 5100532
Per-item error handling in dispose, stop before remove in preemption
camclark File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@evanpelle - this and silo-built have sound files ready but are marked "Waiting for Approval" in the spreadsheet. Happy for me to wire them up? If so I'll add them in a follow-up commit.