Live data from Hacker News

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

distractionware.com

21–30 of 232 posts

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

#21
Did they use a transpiler or something for the mobile version? Lot of magic numbers and odd code like this

    if (t == 0) t = 0;
    if (t == 1) t = 20;
    if (t == 2) t = 14;
    if (t == 3) t = 15;
    if (t == 4) t = 13;
    if (t == 5) t = 16;
or

    case 17:
        blocks[k].prompt = "Press ENTER to activate terminal";
        if(mobilemenus) blocks[k].prompt = "Activate terminal";
        blocks[k].script = "terminal_warp_1";
        setblockcolour(k, "orange");
        trig=0;
        break;
    case 18:
        blocks[k].prompt = "Press ENTER to activate terminal";
        if(mobilemenus) blocks[k].prompt = "Activate terminal";
        blocks[k].script = "terminal_warp_2";
        setblockcolour(k, "orange");
        trig=0;
        break;
    case 19:
        blocks[k].prompt = "Press ENTER to activate terminal";
        if(mobilemenus) blocks[k].prompt = "Activate terminal";
        blocks[k].script = "terminal_lab_1";
        setblockcolour(k, "orange");
        trig=0;
        break;
from https://github.com/TerryCavanagh/VVVVVV/blob/master/mobile_v...

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

#22
You know, people like to crap on Flash (and there are valid reasons to do so), but I really miss how quick you could get a game built with it, while it still felt like "real" programming.

With Flash, I felt like a nice "one-stop-shop" in a lot of ways; you could draw your graphics, animate them, and code them, and you could get a simple game made in an hour or two.

I haven't tried Unity or really any other dedicated game engine, so maybe you get that feeling with those, but I will always be nostalgic for Flash; it really helped make programming "fun" for me.

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

#23
An interesting quote from the build instructions: " In particular, the Windows version absolutely positively must be compiled in Debug mode, with /RTC enabled. If you build in Release mode, or have /RTC disabled, the game behaves dramatically different in ways that were never fully documented (bizarre softlocks, out-of-bounds issues that don't show up in tools like Valgrind, stuff like that)."

I wonder if people will spend the time to actually debug this properly now that the source is available.

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

#24
post #5

Quite cool, although the license is quite strict: https://github.com/TerryCavanagh/VVVVVV/blob/master/LICENSE....

Not much more strict than CC-BY-NC, unless I’m missing something? The “you may not represent your fork as my product” is a good abuse prevention that I’m not sure the equivalent CC contains, good call including that.

You may not alter or redistribute this software in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation.

This kind of stuff is generally regarded as non-Open Source.

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

#25
post #22

You know, people like to crap on Flash (and there are valid reasons to do so), but I really miss how quick you could get a game built with it, while it still felt like "real" programming. With Flash, I felt like a nice "one-stop-shop" in a lot of ways; you could draw your graphics, animate them, and code them, and you could get a simple game made in an hour or two. I haven't tried Unity or really any other dedicated…

Pico8 for you, if you're OK with a retro look. Very quick and satisfying. :)

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

#27
post #5

Quite cool, although the license is quite strict: https://github.com/TerryCavanagh/VVVVVV/blob/master/LICENSE....

Prohibiting commercial use would make it non-open. But it's not that surprising given that VVVVVV is still sold today. I'd rather have the source with limits over not having the source at all.

[deleted]

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

#28

Did they use a transpiler or something for the mobile version? Lot of magic numbers and odd code like this if (t == 0) t = 0; if (t == 1) t = 20; if (t == 2) t = 14; if (t == 3) t = 15; if (t == 4) t = 13; if (t == 5) t = 16; or case 17: blocks[k].prompt = "Press ENTER to activate terminal"; if(mobilemenus) blocks[k].prompt = "Activate terminal"; blocks[k].script = "terminal_warp_1"; setblockcolour(k, "orange"); trig…

This just looks like typical game dev code to me. You treat the code like a scratchpad, exploring the space and looking for things that work well. Lots of things written once and never touched again, lots of things written with magic numbers because that makes it easier to delete.

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

#30
post #22

You know, people like to crap on Flash (and there are valid reasons to do so), but I really miss how quick you could get a game built with it, while it still felt like "real" programming. With Flash, I felt like a nice "one-stop-shop" in a lot of ways; you could draw your graphics, animate them, and code them, and you could get a simple game made in an hour or two. I haven't tried Unity or really any other dedicated…

You can still do with haxe: https://haxe.org/use-cases/games/

Haxe is somewhat a flash clone. https://github.com/HaxeFoundation/haxe/

Post reply on HN