Maybe this question should be addressed on the wiki, looks like it's asked often enough: https://www.google.com/search?q=protect ... love2d.org
I would wish to such page to encourage not to protect the source though.
[IMPORTANT] Problem with the game distribution.
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: [IMPORTANT] Problem with the game distribution.
English is not my first language, apologies in advance.
Re: [IMPORTANT] Problem with the game distribution.
I recently started a topic related to that: https://love2d.org/forums/viewtopic.php?t=87910
Jesus, a switch statement going up to magic number 4099, not to mention the lack of any comment in most of the cases and the complexity nested in some of them.nequals30 wrote: ↑Wed Jan 15, 2020 8:30 pm Just look at this 3,500 line switch-case statement:
https://github.com/TerryCavanagh/VVVVVV ... e.cpp#L605
English is not my first language, apologies in advance.
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: [IMPORTANT] Problem with the game distribution.
If it works, it ain't stupidchurros wrote: ↑Thu Jan 16, 2020 3:38 pmJesus, a switch statement going up to magic number 4099, not to mention the lack of any comment in most of the cases and the complexity nested in some of them.nequals30 wrote: ↑Wed Jan 15, 2020 8:30 pm Just look at this 3,500 line switch-case statement:
https://github.com/TerryCavanagh/VVVVVV ... e.cpp#L605
And even if it is, the game's released, while others are trying to write clean code and will never release their games.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: [IMPORTANT] Problem with the game distribution.
Yeah, the game code doesn't needs to be good, it just needs to function. At some point it also needs to be fast, but at no point it needs to be elegant.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 12 guests