mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-24 21:19:02 -06:00
Bump version to v0.3 + title screen change!!!
This commit is contained in:
parent
6f4adf5aad
commit
d2d710ead6
@ -20,6 +20,7 @@ backgrounds = {
|
||||
love.graphics.newImage("res/backgrounds/1800.png"),
|
||||
love.graphics.newImage("res/backgrounds/1900.png"),
|
||||
title = love.graphics.newImage("res/backgrounds/title.png"),
|
||||
title_night = love.graphics.newImage("res/backgrounds/title-night.jpg"),
|
||||
snow = love.graphics.newImage("res/backgrounds/snow.png"),
|
||||
input_config = love.graphics.newImage("res/backgrounds/options-input.png"),
|
||||
game_config = love.graphics.newImage("res/backgrounds/options-game.png"),
|
||||
@ -118,5 +119,6 @@ misc_graphics = {
|
||||
go = love.graphics.newImage("res/img/go.png"),
|
||||
select_mode = love.graphics.newImage("res/img/select_mode.png"),
|
||||
strike = love.graphics.newImage("res/img/strike.png"),
|
||||
santa = love.graphics.newImage("res/img/santa.png")
|
||||
santa = love.graphics.newImage("res/img/santa.png"),
|
||||
icon = love.graphics.newImage("res/img/cambridge_transparent.png")
|
||||
}
|
@ -1 +1 @@
|
||||
version = "beta8-WIP"
|
||||
version = "v0.3"
|
BIN
res/backgrounds/title-night.jpg
Normal file
BIN
res/backgrounds/title-night.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
BIN
res/img/cambridge_transparent.png
Normal file
BIN
res/img/cambridge_transparent.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
@ -60,15 +60,28 @@ function TitleScene:update()
|
||||
end
|
||||
|
||||
function TitleScene:render()
|
||||
love.graphics.setFont(font_3x5_2)
|
||||
|
||||
love.graphics.setFont(font_3x5_4)
|
||||
love.graphics.setColor(1, 1, 1, 1 - self.snow_bg_opacity)
|
||||
--[[
|
||||
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)
|
||||
love.graphics.setColor(1, 1, 1, self.snow_bg_opacity)
|
||||
love.graphics.draw(
|
||||
backgrounds["snow"],
|
||||
@ -112,14 +125,17 @@ 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 ~= nil and e.scancode or "")
|
||||
self.text = self.text .. (e.scancode or "")
|
||||
if self.text == "ffffff" then
|
||||
self.text_flag = true
|
||||
DiscordRPC:update({
|
||||
largeImageKey = "snow"
|
||||
})
|
||||
end
|
||||
]]
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user