Another credits update

pull/24/head
Ishaan Bhardwaj 2021-07-05 22:09:06 -04:00
parent 61de3c6dbf
commit 8fb01dc9a8
2 changed files with 32 additions and 25 deletions

View File

@ -95,10 +95,12 @@ Notable Games
- [TGMsim](https://github.com/2Tie/TGMsim) by 2Tie - [TGMsim](https://github.com/2Tie/TGMsim) by 2Tie
- [Multimino](https://gamejolt.com/games/multimino/556683) by Axel Fox - [Multimino](https://gamejolt.com/games/multimino/556683) by Axel Fox
- [Tetra Legends](https://tetralegends.app) by Dr Ocelot - [Tetra Legends](https://tetralegends.app) by Dr Ocelot
- [ZTrix](https://discord.gg/MGhqCBDGNH) by Electra
- [Shiromino](https://github.com/shiromino/shiromino) by Felicity/nightmareci/kdex - [Shiromino](https://github.com/shiromino/shiromino) by Felicity/nightmareci/kdex
- [Cursed Blocks](https://github.com/Manabender/Cursed-Blocks) by Manabender - [Cursed Blocks](https://github.com/Manabender/Cursed-Blocks) by Manabender
- Picoris 1/2 by MarkGamed - Picoris 1/2 by MarkGamed
- Tetra Online by Mine - [Tetra Online](https://github.com/Juan-Cartes/Tetra-Offline) by Mine
- [Techmino](https://discord.gg/6Yuww44tq8) by MrZ
- [TETR.IO](https://tetr.io) by osk - [TETR.IO](https://tetr.io) by osk
- [Master of Blocks](https://discord.gg/72FZ49mjWh) by Phoenix Flare - [Master of Blocks](https://discord.gg/72FZ49mjWh) by Phoenix Flare
- [Spirit Drop](https://rayblastgames.com/spiritdrop.php) by RayRay26 - [Spirit Drop](https://rayblastgames.com/spiritdrop.php) by RayRay26

View File

@ -4,6 +4,8 @@ CreditsScene.title = "Credits"
function CreditsScene:new() function CreditsScene:new()
self.frames = 0 self.frames = 0
-- higher = slower
self.scroll_speed = 1.9
switchBGM("credit_roll", "gm3") switchBGM("credit_roll", "gm3")
end end
@ -11,16 +13,18 @@ function CreditsScene:update()
if love.window.hasFocus() then if love.window.hasFocus() then
self.frames = self.frames + 1 self.frames = self.frames + 1
end end
if self.frames >= 4200 then if self.frames >= 2100 * self.scroll_speed then
playSE("mode_decide") playSE("mode_decide")
scene = TitleScene() scene = TitleScene()
switchBGM(nil) switchBGM(nil)
elseif self.frames == 3600 then elseif self.frames == math.floor(1950 * self.scroll_speed) then
fadeoutBGM(2) fadeoutBGM(2)
end end
end end
function CreditsScene:render() function CreditsScene:render()
local offset = self.frames / self.scroll_speed
love.graphics.setColor(1, 1, 1, 1) love.graphics.setColor(1, 1, 1, 1)
love.graphics.draw( love.graphics.draw(
backgrounds[19], backgrounds[19],
@ -29,42 +33,43 @@ function CreditsScene:render()
) )
love.graphics.setFont(font_3x5_4) love.graphics.setFont(font_3x5_4)
love.graphics.print("Cambridge Credits", 320, 500 - self.frames / 2) love.graphics.print("Cambridge Credits", 320, 500 - offset)
love.graphics.print("THANK YOU\nFOR PLAYING!", 320, math.max(1910 - self.frames / 2, 240)) love.graphics.print("THANK YOU\nFOR PLAYING!", 320, math.max(2010 - offset, 240))
love.graphics.setFont(font_3x5_3) love.graphics.setFont(font_3x5_3)
love.graphics.print("Game Developers", 320, 550 - self.frames / 2) love.graphics.print("Game Developers", 320, 550 - offset)
love.graphics.print("Project Heads", 320, 640 - self.frames / 2) love.graphics.print("Project Heads", 320, 640 - offset)
love.graphics.print("Notable Game Developers", 320, 730 - self.frames / 2) love.graphics.print("Notable Game Developers", 320, 730 - offset)
love.graphics.print("Special Thanks", 320, 950 - self.frames / 2) love.graphics.print("Special Thanks", 320, 980 - offset)
love.graphics.print("- Milla", 320, math.max(1990 - self.frames / 2, 320)) love.graphics.print("- Milla", 320, math.max(2090 - offset, 320))
love.graphics.setFont(font_3x5_2) love.graphics.setFont(font_3x5_2)
love.graphics.print("Oshisaure\nJoe Zeng", 320, 590 - self.frames / 2) love.graphics.print("Oshisaure\nJoe Zeng", 320, 590 - offset)
love.graphics.print("Mizu\nMarkGamed", 320, 680 - self.frames / 2) love.graphics.print("Mizu\nMarkGamed", 320, 680 - offset)
love.graphics.print( love.graphics.print(
"2Tie - TGMsim\nAxel Fox - Multimino\nDr Ocelot - Tetra Legends\n" .. "2Tie - TGMsim\nAxel Fox - Multimino\nDr Ocelot - Tetra Legends\n" ..
"Felicity/nightmareci/kdex - Shiromino\nMine - Tetra Online\n" .. "Electra - ZTrix\nFelicity/nightmareci/kdex - Shiromino\n" ..
"osk - TETR.IO\nPhoenix Flare - Master of Blocks\nRayRay26 - Spirit Drop\n" .. "Mine - Tetra Online\nMrZ - Techmino\nosk - TETR.IO\n" ..
"Phoenix Flare - Master of Blocks\nRayRay26 - Spirit Drop\n" ..
"sinefuse - stackfuse", "sinefuse - stackfuse",
320, 770 - self.frames / 2 320, 770 - offset
) )
love.graphics.print( love.graphics.print(
"321MrHaatz\nAgentBasey\nAdventium\nArchina\nAurora\n" .. "321MrHaatz\nAdventium\nAgentBasey\nArchina\nAurora\n" ..
"Caithness\nCheez\ncolour_thief\nCommando\nCublex\n" .. "Caithness\nCheez\ncolour_thief\nCommando\nCublex\n" ..
"CylinderKnot\nEricICX\neightsixfivezero\nGesomaru\n" .. "CylinderKnot\neightsixfivezero\nEricICX\nGesomaru\n" ..
"gizmo4487\nJBroms\nKirby703\nKitaru\n" .. "gizmo4487\nJBroms\nKirby703\nKitaru\n" ..
"M1ssing0\nMattMayuga\nMyPasswordIsWeak\n" .. "M1ssing0\nMattMayuga\nMyPasswordIsWeak\n" ..
"Nikki Karissa\noffwo\nOliver\nPyra Neoxi\n" .. "Nikki Karissa\noffwo\nOliver\nPineapple\npokemonfan1937\n" ..
"pokemonfan1937\nRDST64\nRocketLanterns\nRustyFoxxo\n" .. "Pyra Neoxi\nRDST64\nRocketLanterns\nRustyFoxxo\n" ..
"saphie\nSimon\nstratus\nSuper302\n" .. "saphie\nShelleloch\nSimon\nstratus\nSuper302\n" ..
"switchpalacecorner\nterpyderp\nTetrian22\nTetro48\n" .. "switchpalacecorner\nterpyderp\nTetrian22\nTetro48\nThatCookie\n" ..
"TimmSkiller\nTrixciel\nuser74003\nZaptorZap\nZircean\n" .. "TimmSkiller\nTrixciel\nuser74003\nZaptorZap\nZircean\n" ..
"All other contributors and friends!\n" .. "All other contributors and friends!\nThe Absolute PLUS Discord\n" ..
"The Absolute PLUS Discord\nTetra Legends Discord\nTetra Online Discord\n" .. "Tetra Legends Discord\nTetra Online Discord\nMultimino Discord\n" ..
"Multimino Discord\nHard Drop Discord\nCambridge Discord\n" .. "Hard Drop Discord\nRusty's Systemspace\nCambridge Discord\n" ..
"And to you, the player!", "And to you, the player!",
320, 990 - self.frames / 2 320, 1020 - offset
) )
end end