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:
Paul Liverman
2015-02-08 23:55:56 -08:00
parent 43e7bdb7d7
commit a3fab3b5e7
5 changed files with 148 additions and 54 deletions

View File

@@ -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