Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help,
read this.
-
Blitzer1001
- Prole
- Posts: 5
- Joined: Wed Jul 27, 2022 12:26 pm
Post
by Blitzer1001 »
So i made an .love file and when i run it this is the error message i get:
Error
[love "boot.lua"]:321: No code to run
Your game might be packaged incorrectly.
Make sure main.lua is at the top level of the zip.
I have checked that main.lua is on top and i dont know what to do, it driving me mad
Somebody pls help
-
pgimeno
- Party member
- Posts: 3593
- Joined: Sun Oct 18, 2015 2:58 pm
Post
by pgimeno »
Make sure you haven't capitalized anything in main.lua:
- Main.lua won't work.
- main.Lua won't work
- MAIN.lua won't work
and so on.
Otherwise please post your .love file so we can check what may be happening.
-
darkfrei
- Party member
- Posts: 1186
- Joined: Sat Feb 08, 2020 11:09 pm
Post
by darkfrei »
myGameFolder/main.lua als won't work
-
Darlex
- Party member
- Posts: 128
- Joined: Sun Sep 24, 2017 10:02 am
- Location: Chile
-
Contact:
Post
by Darlex »
Get sure that main.lua is ACTUALLY at the top of the zip, and not inside any other folder, happened to me once
Hi! I wish you have an amazing day!
-
Blitzer1001
- Prole
- Posts: 5
- Joined: Wed Jul 27, 2022 12:26 pm
Post
by Blitzer1001 »
Thank you pgimeno! you helped me so much!
Users browsing this forum: No registered users and 3 guests