Every time I use this:
function love.draw()
love.graphics.setfont(love.graphics.newfon(50))
I get this error:
Error
main.lua:2: attempt to call field
newfon
(a nil value)Traceback
main.lua:2: in function
draw
[C]: in functionxpcall
How can I fix it ?