• Hacker News
  • new|
  • comments|
  • show|
  • ask|
  • jobs|
  • Vaslo 2 hours

    But can it play Crysis?

  • stoobs 5 hours

    Seems like you get stuck on corners and it really doesn't like running up/down slopes, neat though.

  • jojogeo 3 hours

    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/

  • jacobgold 1 hours

    No light theme though?

  • rvba 2 minutes

    After leaving the first area to the bridge... was the sky really so close to the ground in the original game, or the old monitors made it look differently?

    Also nice achievement...!

  • boredemployee 1 hours

    I still play quake (world) to this day. I just can't quit it.

  • gpderetta 5 hours

    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.

  • crimsonnoodle58 2 hours

    Amazing and impressive use of CSS. But at the same time, makes me appreciate what feat Carmack achieved 30 years ago on early Pentiums.

  • divan 4 hours

    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. :)

  • ChrisArchitect 4 hours

    Show HN: from the dev (who's also in here, maybe a title update) https://news.ycombinator.com/item?id=48571117

  • criley2 5 hours

    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

  • aggregator-ios 1 hours

    Wow, this is impressive. 60FPS, MacBook Air M1. I was instantly hooked and so much nostalgia.

  • badsectoracula 2 hours

    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.

    1 hours

  • Snoopfrogg 3 hours

    This is dope.

  • iandanforth 3 hours

    Crazy, such memories. Thanks!

  • zuzululu 1 hours

    this is crazy i didn't know css could do this

  • kiyeonjeon 4 hours

    how long does it take to develop this game?

  • 5 hours

  • 6 hours

  • xenophonf 5 hours

    Every time I click in the window, the menu disappears. I tried both Firefox and Chrome.

  • thenthenthen 5 hours

    Wow

  • ikari_pl 4 hours

    Wow, this will be a great project for the forever-upcoming VRML /s

  • AndorinaAI 1 hours

    lol that's crazy. Good job.

  • cynicalsecurity 3 hours

    If this is what CSS has become, it means at some point its development went the wrong way.

    senfiaj 3 hours

    It still needs JS. It just avoids using canvas and does DOM manipulation + CSS instead.

    Rohansi 3 hours

    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.

  • ronbenton 1 hours

    Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should

    aruametello 26 minutes

    Then Tresspasser CSS next

    https://en.wikipedia.org/wiki/Trespasser_(video_game

  • remix2000 5 hours

    It seems like this CSS Quake needs JS to run…

    zamadatix 1 hours

    CSS does the rendering, the game logic is TypeScript.

  • alexb_ 3 hours

    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 3 hours

    have to shoot the elevator buttons in this, in the original you could move into them.

  • formit34 2 hours

    [flagged]

    GeorgeWoff25 1 hours

    chrome web store?

  • jdw64 3 hours

    I wish I could use CSS this well too

    MattCruikshank 2 hours

    Don't worry, OP still can't center a div.

    jdw64 2 hours

    I think I've finally found something in common between OP and me

    qingcharles 2 hours

    I was centering divs just fine, but now they took away Fable and I'm lost.

  • AzzieElbab 5 hours

    Awesome! Harder to exit than vim.

    pgt 20 minutes

    In case you want to view the menu, press Tab. Click outside menu items to resume game.

    deskamess 3 hours

    how did you exit? because nothing seems to be working.

    axus 3 hours

    I pressed Esc key, click quit. And then closed the browser tab.

    ChrisClark 3 hours

    I pressed escape, then just closed the tab

    calgoo 3 hours

    Back button worked for me

  • sgt 4 hours

    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 4 hours

    .dog { display: float; }

    skvmb 3 hours

    You win! I laughed way too hard at this. Boss man is now giving me the side eye.

  • edwinjm 5 hours

    Is this a rip from https://github.com/NielsLeenheer/cssDOOM

    degamad 5 hours

    The source appears to be <https://github.com/LayoutitStudio/cssQuake>

    OuterVale 4 hours

    Separate projects. Niels Leenheer who made CSS Doom has seen Agustin Capeletto's CSS Quake.

    https://bsky.app/profile/html5test.com/post/3mok5febchs2g

    pantelisk 35 minutes

    And I think both have seen these much older handcrafted css3d engines

    - https://pantel.is/projects/css3d/ - https://keithclark.co.uk/labs/css-fps/

    but they took it to the next level :)

  • buffer_overlord 6 hours

    is there no sound?

    rofko 5 hours

    You should be able to enable sounds with the M shortcut or through the Options menu.

    amarant 5 hours

    Is there a way to produce sound using CSS?

    pwdisswordfishq 5 hours

        @media speech {
            body {
                cue-before: url(/path/to/sound.ogg);
            }
        }
    
    https://www.w3.org/TR/CSS2/aural.html

    Waterluvian 5 hours

    Only screams.

    circadian 5 hours

    Best. Comment. Ever

  • jedberg 2 hours

    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...

    jamal-kumar 26 minutes

    For what it's worth it works like smooth butter under Chrome on an M2, on Safari it's clunky and seems to clip alot

    to11mtm 42 minutes

    Either you had a Voodoo on your P133 or whatever the M1 is doing is having a bad time...

    On my 7945HX this is plenty fast.

    jonplackett 1 hours

    I think you’re missing the point

    DanielHB 1 hours

    Wait, did Quack run on Pentium-133? I had a Pentium MMX 233mhz and I always assumed it didn't ran well so I never bother to get it.

    iamphilrae 1 hours

    If you had a 3dfx card it would run silky smooth on a Pentium-120 (what I had at the time)! Quake 2 ran pretty well too if I recall.

    UltraSane 1 hours

    Quake ran well on my 100Mhz Pentium.

    jedberg 1 hours

    It must have, because that's what I had in 1996 and I played it.

    lightedman 1 hours

    Quake ran on a P75 with 8MB RAM in DOS mode. Not the best but it worked at 320x200.

    bluedino 30 minutes

    Bare minimum for it being playable was a 486DX4 100MHz or similar, but with the floating point Quake really wanted a Pentium

    Garlef 8 minutes

    I played it on a Pentium with 60mhz - it was allright

    poisonfountain 2 hours

    This engine is not optimised for performance. It's using CSS, after all.

    Insanity 2 hours

    Yeah this is a case of “not the right tool for the job”.

    It is awesome though.

    jedberg 1 hours

    Of course, but you'd think after 30 years the compute power should be enough to overcome any lack of optimization. It's a testament to the engineering that went into the original Quake engine.

    culi 1 hours

    Decades of optimizing a toaster to make better toast will not make the toaster any better at making meatloaf

    39 minutes

    rustystump 25 minutes

    I am on the ground. This is great.

    Still, why css is as slow as it is given what tech like imgui can do is a little wild.

    harrall 5 minutes

    CSS is a general rendering solution, not something built for rendering 3D games.

    And no one has spent any time optimizing 3D transforms to make a game workable because no one would be able to justify the use of their time like that. It wouldn’t even give you brownie points ‘cause most people would just ask “why?”