Compare commits

..

2 Commits

Author SHA1 Message Date
Ishaan Bhardwaj
923f3d3696 Added drawIfPaused to gamemode.lua 2021-08-19 14:16:34 -04:00
Ishaan Bhardwaj
db4132bf31 License update, added more credits 2021-08-19 14:15:57 -04:00
4 changed files with 14 additions and 9 deletions

View File

@ -1,4 +1,4 @@
Copyright (c) 2018-2019 Joe Zeng
Copyright (c) 2018-2021 Joe Zeng, Ishaan Bhardwaj
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -105,6 +105,7 @@ Other Notable Games
- [TETR.IO](https://tetr.io) by osk
- [Master of Blocks](https://discord.gg/72FZ49mjWh) by Phoenix Flare
- [Spirit Drop](https://rayblastgames.com/spiritdrop.php) by RayRay26
- [Puzzle Trial](https://kagamine-rin.itch.io/puzzle-trial) by Rin
- [stackfuse](https://github.com/sinefuse/stackfuse) by sinefuse
![Cambridge Logo](https://cdn.discordapp.com/attachments/625496179433668635/763363717730664458/Icon_2.png)

View File

@ -5,7 +5,7 @@ CreditsScene.title = "Credits"
function CreditsScene:new()
self.frames = 0
-- higher = slower
self.scroll_speed = 1.9
self.scroll_speed = 1.85
switchBGM("credit_roll", "gm3")
end
@ -34,14 +34,14 @@ function CreditsScene:render()
love.graphics.setFont(font_3x5_4)
love.graphics.print("Cambridge Credits", 320, 500 - offset)
love.graphics.print("THANK YOU\nFOR PLAYING!", 320, math.max(2010 - offset, 240))
love.graphics.print("THANK YOU\nFOR PLAYING!", 320, math.max(2030 - offset, 240))
love.graphics.setFont(font_3x5_3)
love.graphics.print("Game Developers", 320, 550 - offset)
love.graphics.print("Project Heads", 320, 640 - offset)
love.graphics.print("Notable Game Developers", 320, 730 - offset)
love.graphics.print("Special Thanks", 320, 980 - offset)
love.graphics.print("- Milla", 320, math.max(2090 - offset, 320))
love.graphics.print("Special Thanks", 320, 1000 - offset)
love.graphics.print("- Milla", 320, math.max(2110 - offset, 320))
love.graphics.setFont(font_3x5_2)
love.graphics.print("Oshisaure\nJoe Zeng", 320, 590 - offset)
@ -51,7 +51,7 @@ function CreditsScene:render()
"Electra - ZTrix\nFelicity/nightmareci/kdex - Shiromino\n" ..
"Mine - Tetra Online\nMrZ - Techmino\nosk - TETR.IO\n" ..
"Phoenix Flare - Master of Blocks\nRayRay26 - Spirit Drop\n" ..
"sinefuse - stackfuse",
"Rin - Puzzle Trial\nsinefuse - stackfuse",
320, 770 - offset
)
love.graphics.print(
@ -69,7 +69,7 @@ function CreditsScene:render()
"Tetra Legends Discord\nTetra Online Discord\nMultimino Discord\n" ..
"Hard Drop Discord\nRusty's Systemspace\nCambridge Discord\n" ..
"And to you, the player!",
320, 1020 - offset
320, 1040 - offset
)
end

View File

@ -900,6 +900,11 @@ end
function GameMode:drawCustom() end
function GameMode:drawIfPaused()
love.graphics.setFont(font_3x5_3)
love.graphics.printf("GAME PAUSED!", 64, 160, 160, "center")
end
-- transforms specified in here will transform the whole screen
-- if you want a transform for a particular component, push the
-- default transform by using love.graphics.push(), do your
@ -930,9 +935,8 @@ function GameMode:draw(paused)
)
end
love.graphics.setFont(font_3x5_3)
if paused then
love.graphics.printf("GAME PAUSED!", 64, 160, 160, "center")
self:drawIfPaused()
end
if self.completed then