Asset cleanup, playing around with hot-swapping music

bevy0.12
Elijah C. Voigt 2 years ago
parent 5f2cd7bb4a
commit 3cee6763f5

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

BIN
assets/images/cube.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/images/cubemap.blend (Stored with Git LFS)

Binary file not shown.

BIN
assets/images/cubemap.blend1 (Stored with Git LFS)

Binary file not shown.

BIN
assets/images/cubemap.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/images/mars-skybox.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/images/mars.hdr (Stored with Git LFS)

Binary file not shown.

BIN
assets/images/skybox.png (Stored with Git LFS)

Binary file not shown.

@ -36,6 +36,7 @@ impl Plugin for AudioPlugin {
( (
play_audio.run_if(any_component_added::<AudioSource>), play_audio.run_if(any_component_added::<AudioSource>),
audio_trigger.run_if(on_event::<AudioEvent>()), audio_trigger.run_if(on_event::<AudioEvent>()),
// play_background.run_if(on_event::<AssetEvent<AudioSettings>>()), TODO: Handle music hot-reload
), ),
); );
} }

Loading…
Cancel
Save