Made mobile's resolution a bit larger
This commit is contained in:
parent
2885b8ae09
commit
cc9409b20a
4
main.lua
4
main.lua
@ -23,11 +23,11 @@ function love.load()
|
||||
lg.setDefaultFilter("nearest")
|
||||
if game.OS ~= "Horizon" then
|
||||
game:changesize(416,234)
|
||||
if game.OSTYPE=="Mobile" then game:changesize(234,234) end
|
||||
if game.OSTYPE=="Mobile" then game:changesize(300,234) end
|
||||
love.window.setTitle('Neutron')
|
||||
w,h = love.window.getDesktopDimensions()
|
||||
res = game.OSTYPE=="PC"
|
||||
push:setupScreen(game.WIDTH, game.HEIGHT, w, h, {fullscreen = true,resizable = res, pixelperfect = true})
|
||||
push:setupScreen(game.WIDTH, game.HEIGHT, w, h, {fullscreen = true,resizable = res, pixelperfect = OSTYPE~="Mobile"})
|
||||
push:setBorderColor(0.161,0.157, 0.192,1)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user