Page 2 of 2
Re: LOVE will not start.
Posted: Thu Jul 14, 2011 7:46 pm
by T-Bone
On both Linux and Windows, once you have the code that works from the command line, you can put it in a launchable text file which you can run by double clicking on it. On Linux you mark the file as executable, while on Windows I think you change the name from .txt to .bat.
Re: LOVE will not start.
Posted: Thu Jul 14, 2011 8:59 pm
by Ensayia
nevon wrote:
In Windows, it's something like:
Code: Select all
"C:\Program Files\love\love.exe" C:\users\username\mygame\
Windows user here, I use Notepad++ (excellent for all types of coding) and if you hit F5 you can input the path like nevon demonstrated and it will run. You have to put the path in every time you start the editor, but only once.
Re: LOVE will not start.
Posted: Fri Jul 15, 2011 7:25 am
by T-Bone
Ensayia wrote:nevon wrote:
In Windows, it's something like:
Code: Select all
"C:\Program Files\love\love.exe" C:\users\username\mygame\
Windows user here, I use Notepad++ (excellent for all types of coding) and if you hit F5 you can input the path like nevon demonstrated and it will run. You have to put the path in every time you start the editor, but only once.
If you use gedit (comes with Ubuntu) on Linux, there exists something similar. Under settings, under add-ons, there is one called "external tools", which allows you to connect any key combination to any Linux command. So for me, when I hit Ctrl + L in gedit, it runs whatever löve project I'm currently working on (the command is "love ."). Really handy.
Re: LOVE will not start.
Posted: Fri Jul 15, 2011 1:54 pm
by schael
I'm interested by your script : I don't know how to open current directory with löve in bash without modifying the script.
Re: LOVE will not start.
Posted: Fri Jul 15, 2011 8:24 pm
by nevon
schael wrote:I'm interested by your script : I don't know how to open current directory with löve in bash without modifying the script.
To run the current directory in LÖVE, you simply run:
Re: LOVE will not start.
Posted: Fri Jul 15, 2011 9:57 pm
by schael
Oh
, thanks. I didn't see.