Relative Content

Tag Archive for rustbevy

Audio_bevy: bevy doesn’t replay audio after it finishes (Bevy 0.14.1)

I’m using bevy 0.14.1 to create a small game and I have some problems with the audio. In my game, there is a character that takes coin. Each time an user takes a coin, a sound must be played. I managed that the audio was played when the character took the first coin, but i couldn’t make the audio be replayed again when the user takes another coin. Here’s my code: What i did was an AudioBundle and i associated it to my entity(score):

Audio_bevy: bevy doesn’t replay audio after it finishes (Bevy 0.14.1)

I’m using bevy 0.14.1 to create a small game and I have some problems with the audio. In my game, there is a character that takes coin. Each time an user takes a coin, a sound must be played. I managed that the audio was played when the character took the first coin, but i couldn’t make the audio be replayed again when the user takes another coin. Here’s my code: What i did was an AudioBundle and i associated it to my entity(score):

Implementing an asset packing system in bevy

In my game, I would like an asset packing system that supports loading multiple asset packs from a folder, where the user can add their own asset packs to override some files of the original asset pack. I think I can do this by implementing AssetReader to read from the asset packs.