Page 1 of 1

running LOVE games in Ubuntu

Posted: Tue May 19, 2009 1:16 am
by ac3raven
the LOVE documentation is absolutely no help to me with this.

According to the documentation, I can drag my main.lua file onto the executable and it'll load the game. It's doesn't work like that in Ubuntu. So how do I do this?

Re: running LOVE games in Ubuntu

Posted: Tue May 19, 2009 1:31 am
by qubodup
dragging main.lua....? no: file.love

do you know what a console/terminal/command-line is?

love .

if the main.lua is in the folder

love file.love

if there is a file.love

Re: running LOVE games in Ubuntu

Posted: Tue May 19, 2009 1:47 am
by ac3raven
yes, I know what a terminal is. I've been using linux for over a year now, mostly ubuntu and fedora. That's not the problem.

now, could you explain what I need to do in coherent sentences?

Re: running LOVE games in Ubuntu

Posted: Tue May 19, 2009 2:12 am
by osgeld
open term
goto the folder where your .love file is
type in love name.love

OR

open term
goto the folder where your project's main.lua script is
type in love .

Re: running LOVE games in Ubuntu

Posted: Tue May 19, 2009 2:59 am
by dtaylorl
I had the same problem. You need to tell love to open the folder (not the file) of your project. I do it this way
1. Open terminal
2. Type "love "
3. Drag my project folder onto the terminal
4. Press "Enter" on my keyboard!

Re: running LOVE games in Ubuntu

Posted: Tue May 19, 2009 3:07 am
by ac3raven
okay, I think I got it. Now I need to start learning lua. ;)

Re: running LOVE games in Ubuntu

Posted: Tue May 19, 2009 6:34 am
by bartbes
A post I made about assigning the filetype to love: http://love2d.org/forum/viewtopic.php?f=3&t=530

Re: running LOVE games in Ubuntu

Posted: Wed May 20, 2009 1:00 pm
by rude
ac3raven wrote:the LOVE documentation is absolutely no help to me with this.
Sorry, should probably fix that.