Is it possible to run the love main.lua file and startup the program without having to create the .love archive? I know it's essentially just a zip file, but for development and testing purposes it would be nice to be able to skip this and run the code straight away. Not sure if this is possible or not.
Cheers.
[Solved] Run Love with Creating .love Archive?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- firefly2442
- Prole
- Posts: 5
- Joined: Fri Dec 16, 2011 4:22 am
[Solved] Run Love with Creating .love Archive?
Last edited by firefly2442 on Sun Dec 18, 2011 7:03 am, edited 1 time in total.
- TechnoCat
- Inner party member
- Posts: 1612
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: Run Love with Creating .love Archive?
you can pass an argument to love pointing it to a directory with a main.lua file too.
I open a terminal at the location of my main.lua and type "love ."
I open a terminal at the location of my main.lua and type "love ."
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Run Love with Creating .love Archive?
The Getting Started page on the wiki has a section about Running Games. It tells you how you can run a project from a folder.
Help us help you: attach a .love.
Re: Run Love with Creating .love Archive?
Also, there are some editors that allow compiling with one keystroke. There are some examples in the wiki:
http://love2d.org/wiki/Notepad%2B%2B
http://love2d.org/wiki/Scite
http://love2d.org/wiki/Notepad%2B%2B
http://love2d.org/wiki/Scite
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Run Love with Creating .love Archive?
You say "compiling" but you mean "running".Ellohir wrote:Also, there are some editors that allow compiling with one keystroke.
Help us help you: attach a .love.
- firefly2442
- Prole
- Posts: 5
- Joined: Fri Dec 16, 2011 4:22 am
Re: [Solved] Run Love with Creating .love Archive?
Thank you. Can't believe I missed that section.
Who is online
Users browsing this forum: No registered users and 15 guests