Made mobile's resolution a bit larger

This commit is contained in:
theo@manjaro 2022-03-04 15:10:07 +01:00
parent 2885b8ae09
commit cc9409b20a

View File

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