I have an XScale and YScale variable, and when things are drawn, they are drawn to the scale of these variables:
Code: Select all
love.graphics.draw(BG,deltaX,deltaY,0,XScale,YScale)
Code: Select all
love.graphics.draw(BG,deltaX,deltaY,0,XScale,YScale)
Code: Select all
local w, h = BG:getDimensions()
love.graphics.draw(BG, deltaX, deltaY, 0, XScale, YScale, w/2, h/2)
Users browsing this forum: Google [Bot] and 2 guests