5 ms·
I'd bet that Doom, a much better game, was written in 0 lines of JS as well (in the same sense). I fail to see how is this trend of "doing something the horribl
by rplnt 13y ago
I'd bet that Doom, a much better game, was written in 0 lines of JS as well (in the same sense). I fail to see how is this trend of "doing something the horrible way" interesting. Just because it's unconventional?
- golergka 13y agoIt's an ironic reply to this trend. Which also shows a pretty interesting usage of css, which has obvious educational value.
- CmonDev 13y agoThe trend is to show that real stuff CAN be done rather than actually DOing the real stuff.
- w-m 13y agoI don't see something 'done the horrible way', I see someone having fun using a technology in a creative way, maybe in a way it's not really meant to be used. It's not a bad space shooter, it's an invitation to be curious. This is exactly what I would expect at a site that calls itself hacker news.
- jzzskijj 13y agoI fail to see how is this trend of "doing something the horrible way" interesting. If people in the history of computing had stayed conventional and avoided doing something the horrible way, demoscene probably wouldn't been born at all. Breaking the boundaries and pushing to the limits was the point. Of course the young programmers of 1980's could have just waited doing nothing for 1990's to come with more powerful personal computers :)
- knappador 13y agoGoing on record in support of this statement. Very, very, very tired of seeing this stuff. Please quit giving Upworthy titles to techniques or tools I will never, ever want to use any part of in practice. When I make something for fun or to try something novel, I still use the best techniques I find suitable for the problem. If it's really a pedagogical tool, it would have comments, built up examples, and conclusions about the paradigm in light of what was learned in the implementation. This is utter nonsense that reminds me of doing random things in middle school when it was quite plausible that any information was valuable information in light of a relative lack of experience to draw upon.
- andybak 13y agoSo you're never interested in seeing interesting explorations of CSS? Looking at the source for this didn't teach you anything interesting about new CSS features. No-one is seriously suggesting we write CSS-only games. You're rather missing the point.
- cjfont 13y agoWhatever interesting CSS features this game contains could be applied to more practical use via a different sort of implementation -- in this case the reason is solely to get away with not having to write a line of JavaScript when clearly JS is a better way to write something like this. It's one thing to write something that uses 30 lines of JS code only, than to create this and say "Look Ma, no JS!!"
- nashashmi 13y agoI hate using javascript where CSS would suffice. It is more "natural" and efficient. The resource consumption is less intensive.
- krapp 13y agoI'm still slightly uncomfortable with css being able to do anything more than positioning, coloring and fonts... and maybe hover selectors though I did abuse those severely when I found out about them. Nevertheless, demos like this are pretty cool.
- cjfont 13y agoThat is because the animation capabilities of CSS are still meant to be used for presentation purposes (like a cute response to mouse movement or a head bobbing around), rather than an all out game engine. The idea is still cute, but I freak that people will think this is the new way to design online games.
- andybak 13y ago
- mmahemoff 13y agoThe analogy would be more like writing Doom in zero lines of C/++ and just implementing it using resource files. Or some similarly mindblowing constraint. "I wrote X in HTML5" yes can get tired, but this is a specific use of the technology that's interesting to web developers.
- kayoone 13y agoimo this shows what modern CSS can do, thats what its about. I for one didnt know this was possible. Imagine a 3D game written only using shaders or something like that. It doesnt make sense, but is still impressive to see.
- lemonberry 13y agoWhy bother commenting on a thread/topic you don't find interesting? Move on.
- ht_th 13y agoIt is hacker news, isn't it?
- sgtpepper 13y agoYou do realize you're on HACKER News right? You'll probably see some HACKS... maybe?
- vacri 13y agoI don't recall Doom being an HTML5 game.