Live data from Hacker News

CSS is DOOMed

nielsleenheer.com

31–40 of 120 posts

Re: CSS is DOOMed

#31

But where can I try it out in my browser? EDIT: https://cssdoom.wtf/

Works smoothly in Firefox. But the default key mapping is busted: fire at Alt means that it opens and closes the menu in Firefox with each press. Also, Alt + left arrow ends the game and goes back in history.

Interestingly, it was more choppy in Chromium.

I could not find a key for moving sideways ("strafing").

All in all, quite mind-boggling.

Re: CSS is DOOMed

#33
post #28

In 2006, Ars Technica published an April Fool's article[0] declaring that the perennially-forthcoming Duke Nukem Forever would finally see the light of day... as... a browser game ! Ho ho, how droll. Crazy to see how far we've come. [0]: https://arstechnica.com/gaming/2006/04/forever/

Quake Live did come out as a browser NaCl game a year or so later.

Re: CSS is DOOMed

#35
Seriously impressive, especially the viewport culling trick, not seen that one before.

FYI if you want to use inspect element, the viewport div consumes mouse elements, you can get rid of this with

  #viewport {
    pointer-events: none;
  }
  #viewport * {
    pointer-events: initial;
  }

Re: CSS is DOOMed

#37

Is CSS that awesome? It's still a language designed for styling webpages with 30 year of added features. I'd argue something purpose built would be a much better tool for the potential usecases people try to use CSS for now. I guess I am asking, if modern CSS is so awesome, it's awesome compared to what exactly?

I was writing CSS +20 years ago and it's never been better.

Re: CSS is DOOMed

#39
post #31

But where can I try it out in my browser? EDIT: https://cssdoom.wtf/

Works smoothly in Firefox. But the default key mapping is busted: fire at Alt means that it opens and closes the menu in Firefox with each press. Also, Alt + left arrow ends the game and goes back in history. Interestingly, it was more choppy in Chromium. I could not find a key for moving sideways ("strafing"). All in all, quite mind-boggling.

Strafing is implemented on A and D at least, but having one hand on the arrows to turn and WASD to move is a bizarre mix of modern and original controls
Post reply on HN