Hi, I'm getting started with Lua and Love2d, but there's this sort of annoying problem, and that problem is that I can only edit the files if the file is out of the .love file
Please respond on some way to fix this, because I don't want to have the process of making any future games I make to be tedious.
How do I edit lua files, while the file is still inside the .love file?
Re: How do I edit lua files, while the file is still inside the .love file?
The program does not need to be in a .love file in order to be executed. You develop using a folder with regular files instead of a .love file, and then pack it into a .love file when ready.
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: How do I edit lua files, while the file is still inside the .love file?
When ready to distribute*; On probably all operating systems, no matter which you use, you can create some type of script that can run the love executable with the path to the project you want to run. on windows, a simple file called "run.bat" with the following contents would suffice.
where ... is the actual path, including changing the drive letter if you need to, of course.
Code: Select all
"C:\...\love.exe" .
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.
Re: How do I edit lua files, while the file is still inside the .love file?
Thanks, sorry for the late reply.zorg wrote: ↑Thu Apr 16, 2020 5:01 am When ready to distribute*; On probably all operating systems, no matter which you use, you can create some type of script that can run the love executable with the path to the project you want to run. on windows, a simple file called "run.bat" with the following contents would suffice.where ... is the actual path, including changing the drive letter if you need to, of course.Code: Select all
"C:\...\love.exe" .
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot], rabbitboots and 3 guests