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.
jedbergβ’39 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...
poisonfountainβ’25 minutes ago
This engine is not optimised for performance. It's using CSS, after all.
Insanityβ’13 minutes ago
Yeah this is a case of βnot the right tool for the jobβ.
It is awesome though.
AzzieElbabβ’about 3 hours ago
Awesome! Harder to exit than vim.
deskamessβ’about 2 hours ago
how did you exit? because nothing seems to be working.
calgooβ’about 2 hours ago
Back button worked for me
ChrisClarkβ’about 1 hour ago
I pressed escape, then just closed the tab
axusβ’about 1 hour ago
I pressed Esc key, click quit. And then closed the browser tab.
jojogeoβ’about 2 hours 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β’about 3 hours ago
It seems like this CSS Quake needs JS to runβ¦
crimsonnoodle58β’about 1 hour 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.
jdw64β’about 1 hour ago
I wish I could use CSS this well too
MattCruikshankβ’38 minutes ago
Don't worry, OP still can't center a div.
qingcharlesβ’20 minutes ago
I was centering divs just fine, but now they took away Fable and I'm lost.
jdw64β’27 minutes ago
I think I've finally found something in common between OP and me
gpderettaβ’about 3 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.
sgtβ’about 2 hours 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β’about 2 hours ago
.dog {
display: float;
}
skvmbβ’about 1 hour ago
You win! I laughed way too hard at this. Boss man is now giving me the side eye.
Seems like you get stuck on corners and it really doesn't like running up/down slopes, neat though.
criley2β’about 3 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
divanβ’about 3 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. :)
Snoopfroggβ’about 1 hour ago
This is dope.
alexb_β’about 2 hours 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β’about 1 hour ago
have to shoot the elevator buttons in this, in the original you could move into them.
cynicalsecurityβ’about 1 hour ago
If this is what CSS has become, it means at some point its development went the wrong way.
senfiajβ’about 1 hour ago
It still needs JS. It just avoids using canvas and does DOM manipulation + CSS instead.
Rohansiβ’about 1 hour 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.
xenophonfβ’about 3 hours ago
Every time I click in the window, the menu disappears. I tried both Firefox and Chrome.
kiyeonjeonβ’about 3 hours ago
how long does it take to develop this game?
Advertisement
ikari_plβ’about 2 hours ago
Wow, this will be a great project for the forever-upcoming VRML /s
buffer_overlordβ’about 4 hours ago
is there no sound?
amarantβ’about 3 hours ago
Is there a way to produce sound using CSS?
pwdisswordfishqβ’about 3 hours ago
@media speech {
body {
cue-before: url(/path/to/sound.ogg);
}
}
Discussion (45 Comments)Read Original on HackerNews
It is awesome though.
Checked out https://cssdoom.wtf/ and loved it too, both are far lighter than current affairs. \o/
edit: both on chromium and firefox, desktop linux.
https://bsky.app/profile/html5test.com/post/3mok5febchs2g