function love.keypressed(key)
--exit the game when ESC is pressed
if key == love.key_escape then
love.system.exit()
end
--restart the game when R is presses
if key == love.key_r then
love.system.restart()
end
end
Thanks for the info, anjo. Looks like there are quite some nasty surprises in the 0.6.0-changelog. The "image size must be a power of 2" thing also had me spinning some time until I found out where the error was. =D