- 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

@@ -7,6 +7,9 @@ Screen.register({
"go_to_sleep",
"go_to_end",
},
init = function()
Audio.music_play_room_work()
end,
background = "bedroom",
draw = function()
if Context.home_norman_visible and Window.get_current_id() == "game" then

View File

@@ -191,6 +191,12 @@ Screen.register({
name = "Mysterious Man",
decisions = {},
background_color = Config.colors.black,
init = function()
Audio.music_play_mystery()
end,
exit = function()
Audio.music_stop()
end,
update = function()
if state == STATE_TEXT then
if not text_done then

View File

@@ -9,6 +9,9 @@ Screen.register({
situations = {
"drink_coffee",
},
init = function()
Audio.music_play_room_work()
end,
background = "office",
draw = function()
if Window.get_current_id() == "game" then

View File

@@ -6,6 +6,7 @@ Screen.register({
},
background = "bedroom",
init = function()
Audio.music_play_mystery()
Context.stat_screen_active = true
Meter.hide()
local cx = Config.screen.width * 0.75

View File

@@ -5,6 +5,9 @@ Screen.register({
"go_to_home",
"go_to_office",
},
init = function()
Audio.music_play_room_work()
end,
background = "street",
draw = function()
if Window.get_current_id() == "game" then

View File

@@ -6,6 +6,9 @@ Screen.register({
"go_to_office",
"sumphore_discussion",
},
init = function()
Audio.music_play_room_work()
end,
background = "street",
draw = function()
if Window.get_current_id() == "game" then