Changed resolution on mobile

This commit is contained in:
theo@manjaro 2022-03-04 15:07:29 +01:00
parent 1df23cb4aa
commit 2885b8ae09
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ 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
love.window.setTitle('Neutron')
w,h = love.window.getDesktopDimensions()
res = game.OSTYPE=="PC"