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
3) saving, closing Notepad++
4) 7zip sees changes, clicking ok to update archive
5) Running .love
6) Step #2
There must be an easier way?
What software/methods do you use to edit/run your code?
-
- Prole
- Posts: 6
- Joined: Sun Oct 11, 2009 1:53 am
Re: What software/methods do you use to edit/run your code?
I too use notepad ++
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.
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: Milwaukee, WI
- 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 .
Help us help you: attach a .love.
Re: What software/methods do you use to edit/run your code?
dittoRobin wrote:I use a folder, and just use a terminal window:Code: Select all
>love .
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:
cd '/home/username/Development/love'
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.
1. Open a terminal and cd a directory with all of my love projects:
cd '/home/username/Development/love'
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.
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
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?
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.dtaylorl wrote:In Ubuntu:
1. Open a terminal and cd a directory with all of my love projects:
cd '/home/username/Development/love'
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.
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.
Plus, Geany is a nice editor.
"When in doubt, use brute force." Ken Thompson
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: No registered users and 8 guests