Compare commits
3 Commits
50f6010ed1
...
a7ee1d7861
Author | SHA1 | Date | |
---|---|---|---|
|
a7ee1d7861 | ||
|
bf6c61927e | ||
|
817ffd5c13 |
@ -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/img/rpc/ingame-100.png
Normal file
After Width: | Height: | Size: 816 KiB |
BIN
res/img/rpc/ingame-1000.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
res/img/rpc/ingame-1100.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
res/img/rpc/ingame-1200.png
Normal file
After Width: | Height: | Size: 1.2 MiB |
BIN
res/img/rpc/ingame-1300.png
Normal file
After Width: | Height: | Size: 827 KiB |
BIN
res/img/rpc/ingame-1400.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
res/img/rpc/ingame-1500.png
Normal file
After Width: | Height: | Size: 1.2 MiB |
BIN
res/img/rpc/ingame-1600.png
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
res/img/rpc/ingame-1700.png
Normal file
After Width: | Height: | Size: 1.2 MiB |
BIN
res/img/rpc/ingame-1800.png
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
res/img/rpc/ingame-1900.png
Normal file
After Width: | Height: | Size: 1.2 MiB |
BIN
res/img/rpc/ingame-200.png
Normal file
After Width: | Height: | Size: 943 KiB |
BIN
res/img/rpc/ingame-300.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
res/img/rpc/ingame-400.png
Normal file
After Width: | Height: | Size: 1.2 MiB |
BIN
res/img/rpc/ingame-500.png
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
res/img/rpc/ingame-600.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
res/img/rpc/ingame-700.png
Normal file
After Width: | Height: | Size: 676 KiB |
BIN
res/img/rpc/ingame-800.png
Normal file
After Width: | Height: | Size: 1.6 MiB |
BIN
res/img/rpc/ingame-900.png
Normal file
After Width: | Height: | Size: 2.0 MiB |
BIN
res/img/rpc/settings-input.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
res/img/rpc/snow.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
res/se/mystery.wav
Normal file
@ -10,7 +10,8 @@ function CreditsScene:new()
|
|||||||
|
|
||||||
DiscordRPC:update({
|
DiscordRPC:update({
|
||||||
details = "Watching the credits",
|
details = "Watching the credits",
|
||||||
state = "Thanks for playing the game!"
|
state = "Thanks for playing the game!",
|
||||||
|
largeImageKey = "ingame-1900",
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -50,9 +51,9 @@ function CreditsScene:render()
|
|||||||
|
|
||||||
love.graphics.setFont(font_3x5_2)
|
love.graphics.setFont(font_3x5_2)
|
||||||
love.graphics.print("Oshisaure\nJoe Zeng", 320, 590 - offset)
|
love.graphics.print("Oshisaure\nJoe Zeng", 320, 590 - offset)
|
||||||
love.graphics.print("Mizu\nMarkGamed\nhaileylgbt", 320, 680 - offset)
|
love.graphics.print("Mizu\nMarkGamed\nHailey", 320, 680 - offset)
|
||||||
love.graphics.print(
|
love.graphics.print(
|
||||||
"2Tie - TGMsim\nAxel Fox - Multimino\nDr Ocelot - Tetra Legends\n" ..
|
"Alexey Pajitnov - Tetris\n2Tie - TGMsim\nAxel Fox - Multimino\nDr Ocelot - Tetra Legends\n" ..
|
||||||
"Electra - ZTrix\nFelicity/nightmareci/kdex - Shiromino\n" ..
|
"Electra - ZTrix\nFelicity/nightmareci/kdex - Shiromino\n" ..
|
||||||
"Mine - Tetra Online\nMrZ - Techmino\nosk - TETR.IO\n" ..
|
"Mine - Tetra Online\nMrZ - Techmino\nosk - TETR.IO\n" ..
|
||||||
"Phoenix Flare - Master of Blocks\nRayRay26 - Spirit Drop\n" ..
|
"Phoenix Flare - Master of Blocks\nRayRay26 - Spirit Drop\n" ..
|
||||||
|
@ -27,9 +27,7 @@ function GameScene:new(game_mode, ruleset, inputs)
|
|||||||
DiscordRPC:update({
|
DiscordRPC:update({
|
||||||
details = self.game.rpc_details,
|
details = self.game.rpc_details,
|
||||||
state = self.game.name,
|
state = self.game.name,
|
||||||
--largeImageText = "Level "..self.game.level????
|
largeImageKey = "ingame-"..self.game:getBackground().."00"
|
||||||
largeImageKey = "ingame-0"
|
|
||||||
--largeImageKey = ingame-<section>
|
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -41,6 +39,9 @@ function GameScene:update()
|
|||||||
end
|
end
|
||||||
self.game:update(inputs, self.ruleset)
|
self.game:update(inputs, self.ruleset)
|
||||||
self.game.grid:update()
|
self.game.grid:update()
|
||||||
|
DiscordRPC:update({
|
||||||
|
largeImageKey = "ingame-"..self.game:getBackground().."00"
|
||||||
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ function ConfigScene:new()
|
|||||||
DiscordRPC:update({
|
DiscordRPC:update({
|
||||||
details = "In settings",
|
details = "In settings",
|
||||||
state = "Changing input config",
|
state = "Changing input config",
|
||||||
|
largeImageKey = "settings-input"
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -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")
|
||||||
|