Using the Android port, I use the code below to get screen size of the device for scalling:
local onload_width, onload_height = love.graphics.getDimensions()
but the width returned (game in landscape) doesn't consider android screen buttons (back,home,app switching) when they exist.
Discuss any ports of LÖVE to different platforms.
1 post • Page 1 of 1
Users browsing this forum: No registered users and 21 guests