HELP! I AM STUCK!!

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.
Post Reply
Blitzer1001
Prole
Posts: 5
Joined: Wed Jul 27, 2022 12:26 pm

HELP! I AM STUCK!!

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 :halloween:
Somebody pls help
User avatar
pgimeno
Party member
Posts: 3655
Joined: Sun Oct 18, 2015 2:58 pm

Re: HELP! I AM STUCK!!

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.
User avatar
darkfrei
Party member
Posts: 1197
Joined: Sat Feb 08, 2020 11:09 pm

Re: HELP! I AM STUCK!!

Post by darkfrei »

myGameFolder/main.lua als won't work
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
Darlex
Party member
Posts: 128
Joined: Sun Sep 24, 2017 10:02 am
Location: Chile
Contact:

Re: HELP! I AM STUCK!!

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

Re: HELP! I AM STUCK!!

Post by Blitzer1001 »

Thank you pgimeno! you helped me so much!
Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 2 guests