diff --git a/load/sounds.lua b/load/sounds.lua index 0dfae21..ed09d3e 100644 --- a/load/sounds.lua +++ b/load/sounds.lua @@ -22,8 +22,9 @@ sounds = { go = love.audio.newSource("res/se/go.wav", "static"), irs = love.audio.newSource("res/se/irs.wav", "static"), ihs = love.audio.newSource("res/se/ihs.wav", "static"), - -- a secret sound! + -- secret sounds! welcome = love.audio.newSource("res/se/welcomeToCambridge.wav", "static"), + mystery = love.audio.newSource("res/se/mystery.wav", "static"), } function playSE(sound, subsound) @@ -60,4 +61,4 @@ function playSEOnce(sound, subsound) sounds[sound]:play() end end -end \ No newline at end of file +end diff --git a/res/se/mystery.wav b/res/se/mystery.wav new file mode 100644 index 0000000..c166b48 Binary files /dev/null and b/res/se/mystery.wav differ diff --git a/scene/title.lua b/scene/title.lua index ba159f9..4a75e44 100644 --- a/scene/title.lua +++ b/scene/title.lua @@ -103,6 +103,14 @@ function TitleScene:onInputPress(e) elseif e.input == "up" or e.scancode == "up" then self:changeOption(-1) playSE("cursor") + elseif e.scancode == "kp5" then + DiscordRPC:update({ + details = "Pressed the cool button", + state = "You found the cool easter egg!", + largeImageKey = "transbridge", + }) + playSE("mystery") + --now you've just spoiled the fun for yourself. elseif e.input == "down" or e.scancode == "down" then self:changeOption(1) playSE("cursor")