can't find love

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
CarbonBeast
Prole
Posts: 1
Joined: Fri May 10, 2013 5:27 pm

can't find love

Post by CarbonBeast »

hello i just downloaded and installed löve from the ubuntu software-center but i cant find it on my pc, what do i have to dooo?
Germanunkol
Party member
Posts: 712
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Re: can't find love

Post by Germanunkol »

Easiest way to run it is to open up a console (CTRL+ALT+T by default, or search your dash for "terminal") and then type:

Code: Select all

love
... and press enter.
That will bring up the default rubber piggy.

If you want to run a finished .love file made by someone else, simply double click the .love file.
If you're trying to run your own code, then you need a main.lua file in some folder. Then open up the console as before and type

Code: Select all

cd /path/to/folder
... and press enter. That gets you to the folder.
You can also type cd, then space, and then drag and drop the folder into the console, then press enter.
After that, just type

Code: Select all

love .
The . here specifies "the current folder", so it tells love to run the current folder (the one with the main.lua file in it)
For example:

Code: Select all

user@COMPUTER:~$ cd Projects/MyAwesomeGame
user@COMPUTER:~/Projects/MyAwesomeGame$ love .
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 7 guests