CSSQuake

(cssquake.com)

198 points | by msalsas 3 hours ago

25 comments

  • jedberg 2 minutes ago
    This is an awesome achievement, but I can't help but notice that Quake ran smoother on my Pentium-133 PC in the 90s than it runs on my Mac M1 Pro...
  • badsectoracula 7 minutes ago
    Impressive. I guess this isn't only the renderer made to use CSS but also a full recreation of the engine and logic right? My guess is because a bunch of things do not behave like the original game, e.g. some buttons need to be shot instead of touched to activate, some secret doors open by touching them instead of being shot, etc.
  • crimsonnoodle58 10 minutes ago
    Amazing and impressive use of CSS. But at the same time, makes me appreciate what feat Carmack achieved 30 years ago on early Pentiums.
  • AzzieElbab 2 hours ago
    Awesome! Harder to exit than vim.
    • deskamess 1 hour ago
      how did you exit? because nothing seems to be working.
      • ChrisClark 29 minutes ago
        I pressed escape, then just closed the tab
      • calgoo 57 minutes ago
        Back button worked for me
      • axus 29 minutes ago
        I pressed Esc key, click quit. And then closed the browser tab.
  • jojogeo 54 minutes ago
    This is the first thing I've seen on the intertubes for a /long/ time which genuinely makes me smile, thank you op.

    Checked out https://cssdoom.wtf/ and loved it too, both are far lighter than current affairs. \o/

  • remix2000 2 hours ago
    It seems like this CSS Quake needs JS to run…
  • jdw64 14 minutes ago
    I wish I could use CSS this well too
  • iandanforth 23 minutes ago
    Crazy, such memories. Thanks!
  • sgt 1 hour ago
    Very cool. I wonder what the limitations are? I see the dog I shot is floating in the air. Is that maybe a CSS thing or is it fixable?
    • freakynit 1 hour ago
      .dog { display: float; }
      • skvmb 21 minutes ago
        You win! I laughed way too hard at this. Boss man is now giving me the side eye.
  • gpderetta 2 hours ago
    Nice, but the view keeps clipping out to far ahead of the map (but the character seems to still be in its original position as I can die from monsters). It snaps back in place when I shoot.

    edit: both on chromium and firefox, desktop linux.

  • ChrisArchitect 1 hour ago
    Show HN: from the dev (who's also in here, maybe a title update) https://news.ycombinator.com/item?id=48571117
  • edwinjm 2 hours ago
  • Snoopfrogg 28 minutes ago
    This is dope.
  • stoobs 2 hours ago
    Seems like you get stuck on corners and it really doesn't like running up/down slopes, neat though.
  • cynicalsecurity 29 minutes ago
    If this is what CSS has become, it means at some point its development went the wrong way.
    • Rohansi 24 minutes ago
      The game logic here is running in JS. Only the rendering is handled by HTML and CSS. Is it really wrong that you can do this? All it requires is 3D transformation of elements.
    • senfiaj 24 minutes ago
      It still needs JS. It just avoids using canvas and does DOM manipulation + CSS instead.
  • divan 2 hours ago
    As someone who passionately and ardiently hates prolifiration of this set of _hacks on top of hacks_ called CSS (and CSS/JS/HTML aka Web-stack), I must say this is good and valid use case for CSS. :)
  • criley2 2 hours ago
    Really cool experiment. A lot of jank. It would sometimes rubber band me back, movement was grid aligned in a way that made accessing the secret room challenging, and the whole tab unexpectedly crashed with no error. 5 star would play again
  • alexb_ 1 hour ago
    Doesn't work at all for me. I keep jumping around and clipping through objects, can't even leave the first room without being stuck in the doorway to the elevator.
    • ekaryotic 17 minutes ago
      have to shoot the elevator buttons in this, in the original you could move into them.
  • xenophonf 2 hours ago
    Every time I click in the window, the menu disappears. I tried both Firefox and Chrome.
  • kiyeonjeon 1 hour ago
    how long does it take to develop this game?
  • ikari_pl 1 hour ago
    Wow, this will be a great project for the forever-upcoming VRML /s
  • buffer_overlord 3 hours ago
    is there no sound?
  • thenthenthen 2 hours ago
    Wow