various improvements
- console temporarily enabled DO NOT RELEASE - game is bigger (a bit more difficult) and in 19x6 resolution now - fullscreen explicitly false to prevent fullscreen happening when setting resolution to monitor size - time limit added, with game over screen (needs work) - code adjusted to work with any resolution (assuming in 20 px intervals)
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
local Gamestate = require "lib.gamestate"
|
||||
Gamestate = require "lib.gamestate"
|
||||
|
||||
local menu = require "menu"
|
||||
|
||||
function love.load()
|
||||
local icon = love.image.newImageData("icon.png")
|
||||
love.window.setIcon(icon)
|
||||
|
||||
-- load settings and change if needed
|
||||
--love.window.setMode(800, 460, {borderless = true}) --temporary
|
||||
|
||||
Gamestate.registerEvents()
|
||||
Gamestate.switch(menu)
|
||||
end
|
||||
|
Reference in New Issue
Block a user