Bump version to v0.3.1 + re-add snow easter egg

pull/54/head
Ishaan Bhardwaj 2021-12-08 21:30:09 -05:00
parent 89c7205347
commit fdcec19d56
2 changed files with 9 additions and 17 deletions

View File

@ -1 +1 @@
version = "v0.3" version = "v0.3.1"

View File

@ -45,8 +45,8 @@ function TitleScene:new()
DiscordRPC:update({ DiscordRPC:update({
details = "In menus", details = "In menus",
state = mainmenuidle[love.math.random(#mainmenuidle)], state = mainmenuidle[love.math.random(#mainmenuidle)],
largeImageKey = "1year", largeImageKey = "icon2",
largeImageText = version.." | Thanks for 1 year!" largeImageText = version
}) })
end end
@ -63,23 +63,18 @@ end
function TitleScene:render() function TitleScene:render()
love.graphics.setFont(font_3x5_4) love.graphics.setFont(font_3x5_4)
love.graphics.setColor(1, 1, 1, 1 - self.snow_bg_opacity) 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( love.graphics.draw(
misc_graphics["icon"], misc_graphics["icon"],
460, 170, 0, 460, 170, 0,
2, 2 2, 2
) )
]]
love.graphics.printf("Thanks for 1 year!", 430, 280, 160, "center") love.graphics.printf("Thanks for 1 year!", 430, 280, 160, "center")
love.graphics.setFont(font_3x5_2) love.graphics.setFont(font_3x5_2)
@ -126,8 +121,6 @@ function TitleScene:onInputPress(e)
playSE("cursor") playSE("cursor")
elseif e.input == "menu_back" or e.scancode == "backspace" or e.scancode == "delete" then elseif e.input == "menu_back" or e.scancode == "backspace" or e.scancode == "delete" then
love.event.quit() love.event.quit()
-- no winter easter egg for now
--[[
else else
self.text = self.text .. (e.scancode or "") self.text = self.text .. (e.scancode or "")
if self.text == "ffffff" then if self.text == "ffffff" then
@ -136,7 +129,6 @@ function TitleScene:onInputPress(e)
largeImageKey = "snow" largeImageKey = "snow"
}) })
end end
]]
end end
end end