do i have to switch between .love and .zip files every time?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: do i have to switch between .love and .zip files every t

Post by nevon »

GijsB wrote:right click on the .love
open with winrar
edit
save
play

;)
That won't work with version control systems, though.
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: do i have to switch between .love and .zip files every t

Post by ljdp »

For those of you on OSX:

Code: Select all

xterm -e /Applications/love.app/Contents/MacOs/love "PROJECT_DIRECTORY";
Will open with a window for live console output.

Code: Select all

open -n -a /Applications/love.app "PROJECT_DIRECTORY";
Will open a new instance of love every time, useful for testing networked games.
luminosity
Prole
Posts: 34
Joined: Fri Sep 24, 2010 5:46 am

Re: do i have to switch between .love and .zip files every t

Post by luminosity »

nevon wrote:Or if you add the love executable (love.exe) to your PATH, you can just open up a terminal and run:

Code: Select all

cd C:\path\to\your\game\
love.exe .
Don't even need the .exe part. That's how I run my game in development. For distribution, because I want people to be able to drop files into directories to add new levels / creatures / items etc I'll be distributing a folder and just use a .bat file to run "love ." (on Windows obviously :) )
Post Reply

Who is online

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