Merge text.love
This commit is contained in:
commit
3752cf28dd
2
main.lua
2
main.lua
|
@ -67,7 +67,7 @@ end
|
||||||
function load_settings()
|
function load_settings()
|
||||||
local settings = json.decode(love.filesystem.read('config'))
|
local settings = json.decode(love.filesystem.read('config'))
|
||||||
love.graphics.setFont(love.graphics.newFont(settings.font_height))
|
love.graphics.setFont(love.graphics.newFont(settings.font_height))
|
||||||
-- maximize window to determine maximum allowable dimensions
|
-- determine default dimensions and flags
|
||||||
App.screen.width, App.screen.height, App.screen.flags = love.window.getMode()
|
App.screen.width, App.screen.height, App.screen.flags = love.window.getMode()
|
||||||
-- set up desired window dimensions
|
-- set up desired window dimensions
|
||||||
App.screen.flags.resizable = true
|
App.screen.flags.resizable = true
|
||||||
|
|
Loading…
Reference in New Issue