Closed Source OS X

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
Bicentric
Prole
Posts: 28
Joined: Fri Jul 12, 2013 12:17 pm

Closed Source OS X

Post by Bicentric »

-
Last edited by Bicentric on Tue Jun 19, 2018 7:23 pm, edited 1 time in total.
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Closed Source OS X

Post by slime »

Closed-source is actually about licensing, not whether people have the ability to extract readable original source code from a game (which is certainly possible for most popular non-LÖVE indie games.)

There are several ways to obfuscate your Lua code if you're really concerned about people reading it, but again, what they are allowed to do is up to the license you choose (the default in most places is that you have full copyright over your code, in the absence of any explicit license text saying otherwise.)
Bicentric
Prole
Posts: 28
Joined: Fri Jul 12, 2013 12:17 pm

Re: Closed Source OS X

Post by Bicentric »

-
Last edited by Bicentric on Tue Jun 19, 2018 7:22 pm, edited 1 time in total.
szensk
Party member
Posts: 155
Joined: Sat Jan 19, 2013 3:57 am

Re: Closed Source OS X

Post by szensk »

I'd try Squish. It's mainly a minifier but it has the side effect of obfuscation. People will be able to steal it either way, if that's your fear.
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Closed Source OS X

Post by slime »

Keep in mind obfuscating your code can make it much harder to find bugs which cause Lua errors, since the error message and traceback will likely be incomprehensible. Personally I think the cost of losing proper error messages is much greater than any benefits you get.
All of the non-LÖVE commercial games I know of which use Lua extensively also have very readable Lua error messages.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest