somebody w/ the same question said that this can help:
Code: Select all
local mc, ml = math.ceil, math.log
local ml2inv = 1/ml(2)
nx = mc(ml(x)*ml2inv)
ny = mc(ml(y)*ml2inv)
It's a bit vague, and how can this code get rid of those white boxes precisely? Where in a code like
Code: Select all
ball=love.graphics.newImage('redball.png')
function love.draw()
love.graphics.draw(ball,200,200)
end