Page 1 of 1
How do I edit lua files, while the file is still inside the .love file?
Posted: Wed Apr 15, 2020 11:47 pm
by Gamers
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.
Re: How do I edit lua files, while the file is still inside the .love file?
Posted: Thu Apr 16, 2020 2:08 am
by pgimeno
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.
Re: How do I edit lua files, while the file is still inside the .love file?
Posted: Thu Apr 16, 2020 5:01 am
by zorg
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.
Re: How do I edit lua files, while the file is still inside the .love file?
Posted: Wed Apr 22, 2020 11:08 pm
by Gamers
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.
Thanks, sorry for the late reply.