Running Love on Linux in 2022

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
knorke
Party member
Posts: 274
Joined: Wed Jul 14, 2010 7:06 pm
Contact:

Re: Running Love on Linux in 2022

Post by knorke »

PushyGeoDuck wrote: Mon Jun 06, 2022 7:41 pmOpen a terminal
cd into the folder where your love/lua files are
You can also use the file-browser to go to the directory and right-click: "open terminal here"
Then you do need to type the full path.
User avatar
milon
Party member
Posts: 472
Joined: Thu Jan 18, 2018 9:14 pm

Re: Running Love on Linux in 2022

Post by milon »

knorke wrote: Fri Jun 10, 2022 8:12 am
PushyGeoDuck wrote: Mon Jun 06, 2022 7:41 pmOpen a terminal
cd into the folder where your love/lua files are
You can also use the file-browser to go to the directory and right-click: "open terminal here"
Then you do need not to type the full path.
I think that was a typo, knorke, and I believe I've fixed it in the quote above. At least on my Linux setup if I open a terminal to the correct folder, I can just run "$ love ." to run the love project in the current directory. (Note that leaving out the . results in a No Game screen.)
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
User avatar
knorke
Party member
Posts: 274
Joined: Wed Jul 14, 2010 7:06 pm
Contact:

Re: Running Love on Linux in 2022

Post by knorke »

Indeed a typo. :)

In linux terminal the . means the current directory.
So "love ." means to start love with the current folder as argument.
Without the . it just starts love without any argument passed, so love shows the no-game-screen.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests