from this file a make a zip and give it the name test.zip
then a rename the test.zip file in test.love
When i exequite the file this is waht it say's
Error: [string "boot.lua"]:1: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level of the zip
stack traceback:
[C]: in function 'error'
[string "boot.lua"]:1: in function <[string "boot.lua"]:1>
[C]: in function 'xpcall'
It looks like you took the right steps but it's easy to mistakenly package the directory itself instead of the contents. Open your .zip after you create it and make sure there is only the main.lua file in it and not a folder called 'test'. If that isn't the case then make sure that main.lua is being named right and not something like main.lua.txt
Kadoba wrote:It looks like you took the right steps but it's easy to mistakenly package the directory itself instead of the contents. Open your .zip after you create it and make sure there is only the main.lua file in it and not a folder called 'test'. If that isn't the case then make sure that main.lua is being named right and not something like main.lua.txt
Correct that's the way I understands it has to work:
You helped my to look again to the name of the main file there it was that i made a mistake mian.lua