I've been getting my game from Windows to Android, and it works!
But there is just one problem.
This is what I use to make it fullscreen and then get the monitor / screen / device dimensions.
Code: Select all
love.window.setMode(0, 0, {fullscreen=true, borderless=true})
screen_width = love.graphics.getWidth()
screen_height = love.graphics.getHeight()
Code: Select all
player_width = 20
player_1.x = 0 --left
player_2.x = screen_width - player_width --right
My current thought is to make a "fake" loading screen that waits a few seconds and then set the screen sizes and everything, but I imagine that there's a better way of doing it.