Releases: jakerr/bevy_mod_kira
v0.3.0
0.3.0
-
Library Updates:
- Upgraded
bevyto version 0.16.0. - Upgraded
kirato version 0.10.6. - Updated all other dependencies to their latest versions.
- Upgraded
-
API Enhancements:
-
Added support for playing sounds on specific tracks using the
KiraTrackHandlecomponent. This is to better allign with the Kira API. Track
handles for sub-tracks should now be added wrapped in aKiraTrackHandle
component to any entity that is convienent to associate with the track. When
writing a KiraPlaySoundEvent, there is an optionaltrack_entityfield that
can be used to target a specific track. If not provided, the sound will play
on the main track (see the drum_machine example). -
Enhanced the
KiraPlayabletrait to support playing sounds on main or custom tracks.
-
-
Examples:
- Updated examples to reflect the new API changes:
v0.1.2
-
Renamed
KiraSoundHandletoKiraStaticSoundHandle -
Removed the event based KiraAddClockEvent, KiraAddTrackEvent, KiraClocks and KiraTracks APIs.
Clocks and tracks should now be added in a startup system that interfaces withKiraContext
directly. See thedrum_machineexample for reference.
This allows using the full capability of the Kira tracks API including routing sub-tracks
together. -
Added ability to play dynamic sounds that implement kira's Sound / SoundData APIs. See
play_dynamic_soundexample. -
Re-organized code into modules using the more recent recommendations for module naming (i.e.
foo.rsalong side afoodirectory for any sub-modules, rather thanfor/mod.rs).