simple missile ability and sound (#38)

This commit is contained in:
extrawurst
2025-04-27 23:03:18 +02:00
committed by GitHub
parent 70b3faca8d
commit c9f17e4130
7 changed files with 236 additions and 1 deletions

View File

@@ -48,6 +48,9 @@ pub struct AudioAssets {
#[asset(path = "sfx/effects/head_drop.ogg")]
pub head_drop: Handle<AudioSource>,
#[asset(path = "sfx/abilities/missile-explosion.ogg")]
pub missile_explosion: Handle<AudioSource>,
#[asset(path = "sfx/hit", collection(typed))]
pub hit: Vec<Handle<AudioSource>>,
#[asset(path = "sfx/heads", collection(mapped, typed))]