[IMPORTANT] Problem with the game distribution.

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.
User avatar
churros
Prole
Posts: 11
Joined: Mon Dec 16, 2019 2:28 pm

Re: [IMPORTANT] Problem with the game distribution.

Post by churros »

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.
English is not my first language, apologies in advance. :oops:
User avatar
churros
Prole
Posts: 11
Joined: Mon Dec 16, 2019 2:28 pm

Re: [IMPORTANT] Problem with the game distribution.

Post by churros »

cazura wrote: Wed Jan 15, 2020 12:05 am Wait... So it is possible to extract and have access to the source code of Move or Die, Blue Revolver, etc? Sounds a nice way of learn and see how people do things.
I recently started a topic related to that: https://love2d.org/forums/viewtopic.php?t=87910
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
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.
English is not my first language, apologies in advance. :oops:
User avatar
zorg
Party member
Posts: 3436
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: [IMPORTANT] Problem with the game distribution.

Post by zorg »

churros wrote: Thu Jan 16, 2020 3:38 pm
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
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.
If it works, it ain't stupid :P
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 :3True 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.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: [IMPORTANT] Problem with the game distribution.

Post by raidho36 »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests