Portal broken down, squished into a megabyte


If you’re like our own Peter Ha, you are hopelessly outdated and are only now getting into Portal, and it is beating your ass. And by your ass, I mean your mind. Well, if you’re curious about the way those portals work, check out this illuminating little article at Gamasutra.

There, they demystify the way the portals work (game physics and programming-wise, anyway) and there is even a code snippet showing how it might work if you wanted to make your own Portal game… which actually is what they did. It’s just a little demo, but they put the basic functionality of the game into a megabyte package, that’s something!