Page 1 of 1

[SOLVED]Weird load.love error

Posted: Sat Oct 01, 2016 1:32 pm
by Noob_Maker
So, I got this image:
error1.PNG
error1.PNG (6.51 KiB) Viewed 2391 times
And I have no idea how to fix it. :?
This is the code:

Code: Select all

--configuration
function love.config( t )
	t.window.width = 800
	t.window.height = 400
	t.console = true
end
function load.love(  )
	-- body
end
function update.love( dt )
	-- body
end
function draw.love(  )
	love.graphics.print("Hello World")
end
soo....yeah :/

Re: Weird load.love error

Posted: Sat Oct 01, 2016 1:41 pm
by bartbes
The callbacks are 'love.load', 'love.update', etc.

Re: Weird load.love error

Posted: Sat Oct 01, 2016 2:42 pm
by Noob_Maker
bartbes wrote:The callbacks are 'love.load', 'love.update', etc.
Oh, thank you! :nyu: