Live data from Hacker News

VVVVVV’s source code is now public, 10 year anniversary jam happening now

distractionware.com

1–10 of 232 posts

Re: VVVVVV’s source code is now public, 10 year anniversary jam happening now

#2
I always love when something closed source goes open.

While I never played this game in particular (looks like I've missed something!), I love to study code. It's always interesting to see how other devs tackled a problem or just structured their code.

Thanks a lot!

Re: VVVVVV’s source code is now public, 10 year anniversary jam happening now

#4

I always love when something closed source goes open. While I never played this game in particular (looks like I've missed something!), I love to study code. It's always interesting to see how other devs tackled a problem or just structured their code. Thanks a lot!

Indeed. Someone open sourcing their previously closed project will always get my upvote. :)

In this case the code is likely pretty messy. The repo explains that it was ported from a Flash game and a lot of the bad hacks used to make it work in Flash were ported to C++ more or less verbatim.

Re: VVVVVV’s source code is now public, 10 year anniversary jam happening now

#9

I always love when something closed source goes open. While I never played this game in particular (looks like I've missed something!), I love to study code. It's always interesting to see how other devs tackled a problem or just structured their code. Thanks a lot!

Indeed. Someone open sourcing their previously closed project will always get my upvote. :) In this case the code is likely pretty messy. The repo explains that it was ported from a Flash game and a lot of the bad hacks used to make it work in Flash were ported to C++ more or less verbatim.

From the article:

> For example, maybe my worst programming habit is declaring temporary variables like i, j and k as members of each class, so that I didn’t have to declare them inside functions (which is annoying to do in flash for boring reasons). This led to some nasty and difficult to track down bugs, to say the least. In entity collision in particular, several functions will share the same i variable. Infinite loops are possible.

Re: VVVVVV’s source code is now public, 10 year anniversary jam happening now

#10
This is really great! I wish they wouldn't call it "open source", though. It looks like a source-available license:

https://github.com/TerryCavanagh/VVVVVV/blob/master/LICENSE....

If Terry is reading this, please correct your article. The correct terminology is important! Open source is defined by the OSD, which this license doesn't qualify for:

https://opensource.org/osd

Kudos for releasing your game's source, though!

Edit: I sent Terry an email and he agreed to change it Edit 2: Ethan Lee worked on this! Ethan Lee is an awesome person. Ethan is probably the single biggest contributor to gaming on Linux, and he's always worked in the background. Thanks Ethan, you rock, and deserve more credit.

Post reply on HN