Hi,
While trying to make a linux build for my game alpha I encountered one "weird" behaviour. I say weird but it might simply be my own stupidity.
I installed the .deb package from the homepage, and then tried to run my game like this: "love game.love" and it started the love default pig screen. But my package is alright, it's working on OS X and Windows.
Whatever I try, even start the .love directly on Ubuntu starts the pig screen.
BONUS QUESTION: If I want to distribute my game online, can I simply send the executable? will it contain dependencies? if not then how should I proceed?
Any ideas? Thanks a lot!
Löve on Ubuntu/Linux
Re: Löve on Ubuntu/Linux
You have to run the game from in the same working directory that the game.love is, so if it's in ~/Downloads, then this how you run it:
As for clicking a .love and having it launch properly, that's magic to me too. It depends on how Ubuntu's Unity handles filetypes.
Bonus Answer: Distribute it via a .love, as us Linux Love users already have the binary installed. To get a little more complicated, you could make a .deb that depends on Love from the distro's repository, but there might be a version mismatch. I prefer the .love file.
Code: Select all
cd ~/Downloads
love game.love
Bonus Answer: Distribute it via a .love, as us Linux Love users already have the binary installed. To get a little more complicated, you could make a .deb that depends on Love from the distro's repository, but there might be a version mismatch. I prefer the .love file.
- retrotails
- Party member
- Posts: 212
- Joined: Wed Apr 18, 2012 12:37 am
Re: Löve on Ubuntu/Linux
I used to get that because I have LXDE, this fixed it http://www.foresightlinux.se/make-chrom ... s-in-lxde/
Also, if you use a text editor like Geany put the directory name in quotes like
or else spaces and some characters won't work.
Also, if you use a text editor like Geany put the directory name in quotes like
Code: Select all
love "%d"
Re: Löve on Ubuntu/Linux
Thanks for the responses. I needed a quick way of distributing a love game for linux. But I guess I'll be stuck with distributing the .love file which is a bit of a problem since my game is in alpha and will be a commercial release.
But I guess for the first alpha nothing wrong can happen...
I'll try to make some instructions about installing love from the .deb and then run the .love from the console... This is a bit bad, I will have to find another solution to get this working... I guess making a deb file would do the trick.
But I guess for the first alpha nothing wrong can happen...
I'll try to make some instructions about installing love from the .deb and then run the .love from the console... This is a bit bad, I will have to find another solution to get this working... I guess making a deb file would do the trick.
Re: Löve on Ubuntu/Linux
You're free to license your own content as you wish. If one version is free and the next version isn't, then that's fine.
- master both
- Party member
- Posts: 262
- Joined: Tue Nov 08, 2011 12:39 am
- Location: Chile
Re: Löve on Ubuntu/Linux
does this code from Game Distribution really work?
cat /usr/bin/love game.love > game && chmod +x game
cat /usr/bin/love game.love > game && chmod +x game
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Löve on Ubuntu/Linux
Yes, but the executable will be as portable as a skyscraper, that is, not at all.
- master both
- Party member
- Posts: 262
- Joined: Tue Nov 08, 2011 12:39 am
- Location: Chile
Re: Löve on Ubuntu/Linux
Then, why is that code on the "Game Distribution" section of the wiki?bartbes wrote:Yes, but the executable will be as portable as a skyscraper, that is, not at all.
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: Löve on Ubuntu/Linux
Because no matter how silly it is, we hold on to the dreams that there is a possible way to move that skyscraper.master both wrote:Then, why is that code on the "Game Distribution" section of the wiki?bartbes wrote:Yes, but the executable will be as portable as a skyscraper, that is, not at all.
Also, we have it there, because it works (like other os's)
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Re: Löve on Ubuntu/Linux
Well, it will work on other Ubuntu machines with the same Ubuntu version and number of bits, as long as the dependencies are installed
You can build a general .deb that works on all Ubuntu computers without too much hassle because LÖVE is in the repositories.
You can build a general .deb that works on all Ubuntu computers without too much hassle because LÖVE is in the repositories.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Google [Bot] and 3 guests