Changed resolution on mobile
This commit is contained in:
parent
1df23cb4aa
commit
2885b8ae09
1
main.lua
1
main.lua
|
@ -23,6 +23,7 @@ function love.load()
|
||||||
lg.setDefaultFilter("nearest")
|
lg.setDefaultFilter("nearest")
|
||||||
if game.OS ~= "Horizon" then
|
if game.OS ~= "Horizon" then
|
||||||
game:changesize(416,234)
|
game:changesize(416,234)
|
||||||
|
if game.OSTYPE=="Mobile" then game:changesize(234,234) end
|
||||||
love.window.setTitle('Neutron')
|
love.window.setTitle('Neutron')
|
||||||
w,h = love.window.getDesktopDimensions()
|
w,h = love.window.getDesktopDimensions()
|
||||||
res = game.OSTYPE=="PC"
|
res = game.OSTYPE=="PC"
|
||||||
|
|
Loading…
Reference in New Issue