[Solved] Run Love with Creating .love Archive?

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.
Post Reply
User avatar
firefly2442
Prole
Posts: 5
Joined: Fri Dec 16, 2011 4:22 am

[Solved] Run Love with Creating .love Archive?

Post by firefly2442 »

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.
Last edited by firefly2442 on Sun Dec 18, 2011 7:03 am, edited 1 time in total.
User avatar
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?

Post by TechnoCat »

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 ."
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Run Love with Creating .love Archive?

Post by Robin »

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.
User avatar
Ellohir
Party member
Posts: 235
Joined: Sat Oct 22, 2011 11:12 pm

Re: Run Love with Creating .love Archive?

Post by Ellohir »

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
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Run Love with Creating .love Archive?

Post by Robin »

Ellohir wrote:Also, there are some editors that allow compiling with one keystroke.
You say "compiling" but you mean "running".
Help us help you: attach a .love.
User avatar
firefly2442
Prole
Posts: 5
Joined: Fri Dec 16, 2011 4:22 am

Re: [Solved] Run Love with Creating .love Archive?

Post by firefly2442 »

Thank you. Can't believe I missed that section.
Post Reply

Who is online

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