DHTML Lemmings in JavaScript (2004)
elizium.nu
elizium.nu
Crisp made a nice writeup on the internal workings:
http://crisp.tweakblogs.net/blog/3881/dhtml-lemmings-primer....
I made a couple canvas 2D games in Jan/Feb this year and I tried the HTML5 gamepad API in Chrome, and now (10 months after that) it is deprecated. My experience doing "complex" stuff with HTML and Javascript is that it won't last long. Now I wonder if I'm doing it wrong!
The rudiments of HTML, CSS, and JavaScript haven't changed much in the last decade, if you're only doing "simple" stuff - this game works with animated GIFs and moving said GIFs about with a little bit of JavaScript. You could self-evidently still do exactly the same thing today, if you wanted to, but one would probably be more likely to do it with the Canvas API, which wasn't available in 2004.
The real curiosity of this one for me is that it wasn't done in Flash back then!
Foresight! When we re-visit this on Hacker News in 2024, DHTML Lemmings will still work in the browser, and no one will even remember what Flash was ;)
Make sure you are running Microsoft Internet Explorer IE5.5 or higher, or any other recent DHTML-capable browser such as Netscape, Mozilla or Opera.
The idea of coding for browsers more than a decade old, with their own quirks, feels very demoscene-ish. We have JS demo competitions targeting the latest browser versions, but the C64 demoscene (and other old platforms) is still very lively, so maybe this is another unexplored niche with some fun possibilities...
I almost feel like getting a Win95 VM with IE5.5 to try it out.
Edit: I get no sound in Firefox. Any ideas?