mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-26 01:59:02 -06:00
new easter egg, why not
This commit is contained in:
parent
bf6c61927e
commit
a7ee1d7861
@ -22,8 +22,9 @@ sounds = {
|
|||||||
go = love.audio.newSource("res/se/go.wav", "static"),
|
go = love.audio.newSource("res/se/go.wav", "static"),
|
||||||
irs = love.audio.newSource("res/se/irs.wav", "static"),
|
irs = love.audio.newSource("res/se/irs.wav", "static"),
|
||||||
ihs = love.audio.newSource("res/se/ihs.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"),
|
welcome = love.audio.newSource("res/se/welcomeToCambridge.wav", "static"),
|
||||||
|
mystery = love.audio.newSource("res/se/mystery.wav", "static"),
|
||||||
}
|
}
|
||||||
|
|
||||||
function playSE(sound, subsound)
|
function playSE(sound, subsound)
|
||||||
|
BIN
res/se/mystery.wav
Normal file
BIN
res/se/mystery.wav
Normal file
Binary file not shown.
@ -103,6 +103,14 @@ function TitleScene:onInputPress(e)
|
|||||||
elseif e.input == "up" or e.scancode == "up" then
|
elseif e.input == "up" or e.scancode == "up" then
|
||||||
self:changeOption(-1)
|
self:changeOption(-1)
|
||||||
playSE("cursor")
|
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
|
elseif e.input == "down" or e.scancode == "down" then
|
||||||
self:changeOption(1)
|
self:changeOption(1)
|
||||||
playSE("cursor")
|
playSE("cursor")
|
||||||
|
Loading…
Reference in New Issue
Block a user