Page 1 of 1

Distributing binaries (again)

Posted: Sat May 17, 2014 8:46 pm
by VirusX
Friendly greetings (: I just started using Love2D (still playing with bubble wrap) but so far I LÖVE it.

I just read wiki page about distributing games and to me it looks like we are distributing game with a source code (well at least Mac version). So I did quick search in forum and found some old topics. Anyway was wondering if anything changed since then, maybe there is a way to pack .love in compiled binaries? Or compile to binaries?

I'm not talking about protecting the code, just don't wants someone to read my source code as I use bad language while commenting :3 J

Re: Distributing binaries (again)

Posted: Sat May 17, 2014 9:22 pm
by Robin
Not really, no. But if you use the regular distribution method, few if any people will just stumble upon your source code (who thinks of unzipping files that don't end in .zip?) And most of the people who will find it, probably know that swearing in comments is very, very common.

Re: Distributing binaries (again)

Posted: Mon May 19, 2014 8:05 am
by T-Bone
I consider all comments in the code to be easter eggs for curious players. Too bad for them most of the funny ones are in Swedish.

Re: Distributing binaries (again)

Posted: Wed May 21, 2014 7:01 pm
by jjmafiae
swedish you say, eh?

mojang, eh?

Re: Distributing binaries (again)

Posted: Thu May 22, 2014 3:45 pm
by klembot
You might want to look at Squish. It does obfuscate code if you want that, but you can also just minify your code to cut out comments.

Re: Distributing binaries (again)

Posted: Thu May 22, 2014 5:33 pm
by T-Bone
jjmafiae wrote:swedish you say, eh?

mojang, eh?
I think you're mixing us up with Canada.

Re: Distributing binaries (again)

Posted: Fri May 23, 2014 5:30 am
by jjmafiae
I was just kidding but can I get some info on those swedish comments?

Re: Distributing binaries (again)

Posted: Fri May 23, 2014 11:59 am
by T-Bone
jjmafiae wrote:I was just kidding but can I get some info on those swedish comments?
There really isn't much to talk about. It's mostly me being proud of "clever" variable names. For example, keeping track of whether the buttons are pressed or not is done by the variable pushTheButtonAndLetMeKnow :neko:

Also, the class for the UI buttons is called Butt. I find this hilarious.