## What software/methods do you use to edit/run your code?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
LaggyNewbie
Prole
Posts: 6
Joined: Sun Oct 11, 2009 1:53 am

### What software/methods do you use to edit/run your code?

I just started developing with love and this is what I am currently doing:
1) Opening my .love in 7zip
2) running .lua in Notepad++ from 7zip
4) 7zip sees changes, clicking ok to update archive
5) Running .love
6) Step #2

There must be an easier way?

Almost
Prole
Posts: 42
Joined: Fri Aug 21, 2009 8:04 pm
Contact:

### Re: What software/methods do you use to edit/run your code?

However, while I'm developing I have the files in a folder, and just drag the folder onto a shortcut to love that is on my desktop to run it.
Also: I use winrar, not 7zip.. I've never tried 7zip.

TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Denver, CO
Contact:

### Re: What software/methods do you use to edit/run your code?

I too keep it in a folder and then drag the folder onto a love shortcut. 7zip and WinRAR are almost identical. Except 7zip is free.

Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

### Re: What software/methods do you use to edit/run your code?

I use a folder, and just use a terminal window:

Code: Select all

>love .

osgeld
Party member
Posts: 303
Joined: Sun Nov 23, 2008 10:13 pm

### Re: What software/methods do you use to edit/run your code?

Robin wrote:I use a folder, and just use a terminal window:

Code: Select all

>love .
ditto

dtaylorl
Prole
Posts: 8
Joined: Tue May 19, 2009 2:57 am

### Re: What software/methods do you use to edit/run your code?

In Ubuntu:
1. Open a terminal and cd a directory with all of my love projects:
2. Edit my .lua files in Geany and save them in a project directory: /home/username/Development/love/projectname/
3. Use terminal to run the file:
love projectname

Much easier than dealing with zipping/unzipping .love files.

Igmon
Prole
Posts: 9
Joined: Wed Mar 11, 2009 6:11 pm

### Re: What software/methods do you use to edit/run your code?

Three "lovely" things:

1) Eclipse with luaeclipse plugin
2) Decoda for debugging (you have to compile love in windows to acquire the .pdb file for use with its debugging features). Though you can technically use Decoda alone for ide, I like eclipse better for code management.
3) WinRar

nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

### Re: What software/methods do you use to edit/run your code?

dtaylorl wrote:In Ubuntu:
1. Open a terminal and cd a directory with all of my love projects:
2. Edit my .lua files in Geany and save them in a project directory: /home/username/Development/love/projectname/
3. Use terminal to run the file:
love projectname

Much easier than dealing with zipping/unzipping .love files.
I do exactly the same thing, only I always have a terminal running (in the form of Guake), so I only have to press F12 to have it drop down.

Tenoch
Citizen
Posts: 76
Joined: Mon Jul 21, 2008 7:49 am

### Re: What software/methods do you use to edit/run your code?

Geany has a fancy (but simple) customizable shortcut on F5 to run programs. For Lua files it defaults to running "lua filename" in a terminal, but you can easily change it in "Build" -> "Set includes and arguments" to "love .".

Plus, Geany is a nice editor.
"When in doubt, use brute force." Ken Thompson

dtaylorl
Prole
Posts: 8
Joined: Tue May 19, 2009 2:57 am

### Re: What software/methods do you use to edit/run your code?

Tenoch, that tip is very useful. I didn't realize that it was so simple to change the way the "execute" command works in Geany. It means I don't have to switch to a terminal every time I want to run my game!

### Who is online

Users browsing this forum: Google [Bot] and 5 guests