im using stalker-x camera lib, im also using translate and scale as follows:
Code: Select all
function love.draw()
lg.push()
lg.scale(game_ratio)
lg.translate(windowWidth/2/game_ratio-gameWidth/2, windowHeight/2/game_ratio-gameHeight/2) --this draws the game in the center of the window
Camera: attach ()
--other draw stuffs
Camera:detach()
lg.pop()
end