From fdcec19d567f028528fdb13bdf0383b091262f5c Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Wed, 8 Dec 2021 21:30:09 -0500 Subject: [PATCH] Bump version to v0.3.1 + re-add snow easter egg --- load/version.lua | 2 +- scene/title.lua | 24 ++++++++---------------- 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/load/version.lua b/load/version.lua index 0f04b6a..0328391 100644 --- a/load/version.lua +++ b/load/version.lua @@ -1 +1 @@ -version = "v0.3" \ No newline at end of file +version = "v0.3.1" \ No newline at end of file diff --git a/scene/title.lua b/scene/title.lua index 3b06a92..a4f4882 100644 --- a/scene/title.lua +++ b/scene/title.lua @@ -45,8 +45,8 @@ function TitleScene:new() DiscordRPC:update({ details = "In menus", state = mainmenuidle[love.math.random(#mainmenuidle)], - largeImageKey = "1year", - largeImageText = version.." | Thanks for 1 year!" + largeImageKey = "icon2", + largeImageText = version }) end @@ -63,23 +63,18 @@ end function TitleScene:render() love.graphics.setFont(font_3x5_4) love.graphics.setColor(1, 1, 1, 1 - self.snow_bg_opacity) + love.graphics.draw( + backgrounds["title"], -- title_night + 0, 0, 0, + 0.5, 0.5 + ) --[[ - love.graphics.draw( - backgrounds["title"], - 0, 0, 0, - 0.5, 0.5 - ) - ]] - love.graphics.draw( - backgrounds["title_night"], - 0, 0, 0, - 0.5, 0.5 - ) love.graphics.draw( misc_graphics["icon"], 460, 170, 0, 2, 2 ) + ]] love.graphics.printf("Thanks for 1 year!", 430, 280, 160, "center") love.graphics.setFont(font_3x5_2) @@ -126,8 +121,6 @@ function TitleScene:onInputPress(e) playSE("cursor") elseif e.input == "menu_back" or e.scancode == "backspace" or e.scancode == "delete" then love.event.quit() - -- no winter easter egg for now - --[[ else self.text = self.text .. (e.scancode or "") if self.text == "ffffff" then @@ -136,7 +129,6 @@ function TitleScene:onInputPress(e) largeImageKey = "snow" }) end - ]] end end