I just installed love2d and when i try to add the main.lua file the program gives me this error:
[love "boot.lua"] cannot load game at path 'C:/Program Files/LOVE/testing lua/main.lua'.
Make sure a folder exist at the specified path.
Error loading lua file
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Error loading lua file
You need to tell LÖVE to run the game folder, not the main.lua file.
Code: Select all
love.exe "C:/Program Files/LOVE/testing lua"
Tools: Hot Particles, LuaPreprocess, InputField, (more) Games: Momento Temporis
"If each mistake being made is a new one, then progress is being made."
"If each mistake being made is a new one, then progress is being made."
Re: Error loading lua file
How do I tell Löve to run the folder ? I don't understand where to paste the code you wroteReFreezed wrote: ↑Tue Aug 16, 2022 7:29 pm You need to tell LÖVE to run the game folder, not the main.lua file.
Code: Select all
love.exe "C:/Program Files/LOVE/testing lua"
Re: Error loading lua file
That should be pasted to the terminal, but you can also just drop the folder containing main.lua on love.exe. See wiki for more info about how to run games
Re: Error loading lua file
On the wiki I didn't find anything about making a .exe file so my friends don't have to download LÖVE. Is it possible to create one and if so, how ?
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Error loading lua file
-> https://love2d.org/wiki/Game_Distribution
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Who is online
Users browsing this forum: Google [Bot] and 2 guests