4 ms·
I find amusing that being made in 2004 still works! I made a couple canvas 2D games in Jan/Feb this year and I tried the HTML5 gamepad API in Chrome, and now (
by reidrac 12y ago
I find amusing that being made in 2004 still works!
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!
- bshimmin 12y agoI'm sure you weren't doing it wrong, it's simply that the more adventurous HTML5 APIs were (and are) in some cases experimental and subject to change. 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!
- bshimmin 12y agoReplying to myself, but: this makes it sound like creating Lemmings using the HTML, CSS, and JavaScript of 2004 ("DHTML", as we sometimes said back then) wasn't an impressive achievement in its own right - clearly it was.
- CmonDev 12y agoYeah, the only things guaranteed to stay are JS quirks.
- mrspeaker 12y ago> 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 ;)