From b35c02d88426dc841e98c5869f3b1a83a1c46b05 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Thu, 1 Aug 2024 00:58:16 +0300 Subject: [PATCH] new music ! --- apps/testgame/scenes/ingame.c | 5 ++--- data/music/mod65.xm | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100755 data/music/mod65.xm diff --git a/apps/testgame/scenes/ingame.c b/apps/testgame/scenes/ingame.c index a9e178b..c1f961f 100644 --- a/apps/testgame/scenes/ingame.c +++ b/apps/testgame/scenes/ingame.c @@ -126,10 +126,9 @@ struct scene *ingame_scene(struct state *state) { new_scene->world = world_create(); new_scene->player = player_create(new_scene->world); - play_audio_ex("music/test.xm", "soundtrack", (t_play_audio_args){ - .volume = 0.8f, - .panning = -0.5f, + play_audio_ex("music/mod65.xm", "soundtrack", (t_play_audio_args){ .repeat = true, + .volume = 1.0f }); input_set_mouse_captured(&ctx.input, true); diff --git a/data/music/mod65.xm b/data/music/mod65.xm new file mode 100755 index 0000000..46213e7 --- /dev/null +++ b/data/music/mod65.xm @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e24fdb49305660c981f367a2efa8a69231499054f444b45f31fe5ec1f086d51c +size 271860