r/ludumdare • • Aug 21 '14

Unity devs, please remember to include downloads for Linux users

The Unity webplayer is an amazing plugin, but it only works on Windows and Mac. To ensure that as many people can play your game as possible (and therefore ensure you get as many votes as possible), please remember to include Linux downloads of your games.

A lot of Linux devs participate in LD, so it's definitely worth your time to export and upload that extra file.

43 Upvotes

8 comments sorted by

2

u/[deleted] Aug 21 '14

This might be a stupid question, but I've attempted to export some prototypes I made previously to Linux and could not get them to run in an Ubuntu installation I had. Is there any trick to getting them to work? Do I need to do something to properly export for Linux? Or perhaps there's a problem with my Ubuntu installation? It was very frustrating when I tried!

1

u/harrro Aug 21 '14

Should be relatively easy. Export a Linux build as usual from Unity then double click the main file to run. If it doesn't, you may need to make the exported file executable by doing:

chmod +x FileNameHere

1

u/[deleted] Aug 21 '14

Yeah, I had done that. I think I must have had a graphic card conflict the last time I had Ubuntu installed. I've got a new card now, so I suppose I should just give it a shot again. Thanks.

1

u/harrro Aug 21 '14

Ah I see. I've only used Nvidia cards with Ubuntu so 3D drivers were pretty much plug and play (Ubuntu will prompt you to do a 1-click install of the official drivers if you have an Nvidia card).

For other cards you may need to Google for a driver-install howto.

Good luck with the new card.

1

u/dioderm Aug 22 '14

As someone who only uses Linux on machines that don't have monitors attached, I promise to do that as soon as the Linux users promise to tell me if my downloads are working or not. :)

Unfortunately, I won't be partaking in this LD :( and even if I am it will be something written quick and dirty in Scratch (just so you don't forget about me). But in December... I will be making a Linux executable... and I will come back to this post, find you, and ask you personally "I made this downloadable file. Does it work on your machine?"

1

u/LordOfGears2 Aug 22 '14

I'm also willing to bug test, I run Debian as my main OS. :)

1

u/[deleted] Aug 22 '14

I wrote a simple build script for anyone using Unity that likes to crank builds out often: https://github.com/stormsword/stormsword/blob/master/Makefile

You could put this on a cronjob to auto-build every 15 minutes or whenever a file is saved... etc.

By default it builds for OSX/Linux/Windows.

The default build path is ~/Desktop/Stormsword (the name of my game!) but you can override this by passing build_path as a parameter.

The default Unity location is /Applications/Unity/Unity.app/Contents/MacOS/Unity but you can override this by passing unity_path as a parameter.

Feedback/Pull Requests/Bug reports are welcome!

1

u/MasterCtrlPgrm Aug 26 '14

Added a Linux build on mine! Would you mind testing it for me when you have a chance!? Don't have a Linux box ;)

http://www.ludumdare.com/compo/ludum-dare-30/?action=preview&uid=12204