This commit is contained in:
ethan merchant 2024-11-25 23:45:54 -05:00
parent f969d8382e
commit 7e63215827
3 changed files with 8 additions and 0 deletions

BIN
Assets/sfx/maw.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -130,6 +130,10 @@ static class Mono
}
food_next.Step(!Mono.eaten_latch.state && (Mono.snake[0] + Mono.snake_dir) == Mono.food);
if (food_next.delta == +1)
{
SFX.maw.PlayBox(Mono.snake[0]);
}
}
public static void Step()

View file

@ -10,6 +10,7 @@ static class SFX
}
public static Sound click = Sound.FromFile("sfx/click.mp3");
public static Sound maw = Sound.FromFile("sfx/maw.mp3");
public static Sound crisp_nom = Sound.FromFile("sfx/crisp_nom.mp3");
public static Sound punch_through = Sound.FromFile("sfx/punch_through.mp3");
}