Code: Select all
function addquad(quadsize)
quad = love.graphics.newQuad( 50, 50, 2, quadsize/2,0.0001,0.0001)
table.insert(quadtable,quad)
for i,v in ipairs(quadtable) do
--TODO: Change quad [b]x position[/b] by -2
end
end
Also, is there a more optimal way to do this?