I am having the same exact problem as this guy. I make a function in main.lua that says:
Code: Select all
function love.draw()
love.graphics.print("Hello World", 400, 300)
end
Then I place it in a folder called "test". I zip the folder and rename it "test.love". I then double click the file, and LOVE opens to the message:
Error
boot.lua:285: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level of the zip
Trackeback
[C]: in function 'error'
[C]: in function 'xpcall'
What did I do wrong?