Easier easter egg #2

This commit is contained in:
Ishaan Bhardwaj 2020-12-19 20:44:24 -05:00
parent 1ea304916e
commit 130c2ea403

View File

@ -1,6 +1,7 @@
local TitleScene = Scene:extend() local TitleScene = Scene:extend()
TitleScene.title = "Title" TitleScene.title = "Title"
TitleScene.restart_message = false
local main_menu_screens = { local main_menu_screens = {
ModeSelectScene, ModeSelectScene,
@ -45,6 +46,8 @@ function TitleScene:render()
0.5, 0.5 0.5, 0.5
) )
love.graphics.print(self.restart_message and "Restart Cambridge..." or "", 0, 0)
love.graphics.setColor(1, 1, 1, 0.5) love.graphics.setColor(1, 1, 1, 0.5)
love.graphics.rectangle("fill", 20, 278 + 20 * self.main_menu_state, 160, 22) love.graphics.rectangle("fill", 20, 278 + 20 * self.main_menu_state, 160, 22)