Don't use pixel perfect scaling on mobile
This commit is contained in:
parent
cc9409b20a
commit
49e17a199e
1
main.lua
1
main.lua
@ -23,7 +23,6 @@ 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(300,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
Block a user