- added music and sounds to things
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

- hooked up ddr logic into game logic
- TODO: "left_only" ddr needs tweak
This commit is contained in:
2026-03-21 23:20:48 +01:00
parent 9a3c9ee28c
commit 6a33be82e9
13 changed files with 102 additions and 29 deletions

View File

@@ -84,6 +84,8 @@ function MinigameButtonMashWindow.update()
end
if Input.select() then
Audio.sfx_drum_high()
mg.bar_fill = mg.bar_fill + mg.fill_per_press
mg.button_pressed_timer = mg.button_press_duration
if mg.bar_fill > mg.target_points then
@@ -91,6 +93,7 @@ function MinigameButtonMashWindow.update()
end
end
if mg.bar_fill >= mg.target_points then
Audio.sfx_select()
mg.win_timer = Config.timing.minigame_win_duration
return
end