Just a few lines of those who never make screenshots of their progress when working on a game. Plug those few lines into your
main.lua and the game will make a screenshot everytime you start (after the first draw) and when you quit.
madeScreenshot = false function love.draw() -- draw your things if not madeScreenshot then madeScreenshot = true makeScreenshot() end end function love.quit() makeScreenshot() end function makeScreenshot() love.graphics.newScreenshot():encode(os.time() .. '.png', 'png') end
The ambitious LÖVEr will of course add a keybinding
function love.keypressed(key) if key == 'f2' then makeScreenshot() end end