LOVE will not start.

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.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: LOVE will not start.

Post 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.
User avatar
Ensayia
Party member
Posts: 399
Joined: Sat Jun 12, 2010 7:57 pm

Re: LOVE will not start.

Post 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.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: LOVE will not start.

Post 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.
User avatar
schael
Prole
Posts: 27
Joined: Mon Jul 11, 2011 5:13 pm
Location: France

Re: LOVE will not start.

Post 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.
I'm learning...
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: LOVE will not start.

Post 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:

Code: Select all

love .
User avatar
schael
Prole
Posts: 27
Joined: Mon Jul 11, 2011 5:13 pm
Location: France

Re: LOVE will not start.

Post by schael »

Oh :oops:, thanks. I didn't see.
I'm learning...
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 10 guests