fishfolk / jumpy

Tactical 2D shooter in fishy pixels style. Made with Rust-lang 🦀 and Bevy 🪶
https://fishfolk.org/games/jumpy/
Other
1.67k stars 123 forks source link

fix: Switch to AudioCenter implemented in bones - remove from Jumpy #1017

Closed MaxCWhitehead closed 3 months ago

MaxCWhitehead commented 3 months ago

Use AudioCenter from bones now that it has been moved there, and remove from Jumpy.

Added a trait extension to continue playing music from kira StaticSoundSettings, to avoid having to put all of the params in play_music_advanced, as the looping is configured a bit differently.

The addition of force_restart in PlayMusic event has been helpful, now music does not restart each time switch menu pages.

Resolves #1016