I'm having some trouble with the "love.keyreleased" function and I don't have clue to what the problem is.
I litterally copy and pasted the example from the wiki in to my game but nothing happen.
I put this :
function love.keyreleased(key)
if key == "escape" then
love.event.quit()
end
end
right below the love.update function, I tryed different keys, I tryed to print a text instead quitting but nothing.. It seems that the whole function isn't recognized..
Also i tryed the love.keypressed and that works fine..