CSSQuake

534 points113 comments2 days ago
jedberg

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

show comments
jojogeo

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/

AzzieElbab

Awesome! Harder to exit than vim.

show comments
badsectoracula

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.

show comments
zftnb666

This is what I show my friends when they say CSS isn't a real programming language.

remix2000

It seems like this CSS Quake needs JS to run…

show comments
msephton

This is a great showcase of both the PolyCSS library and CSS itself!

divan

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

edwinjm
show comments
sgt

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?

show comments
koolala

Using the Inspector on it is awesome. You can select each map piece.

justaj

If this is CSS only, then why does in need JS to run?

jdw64

I wish I could use CSS this well too

show comments
gpderetta

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.

jacobgold

No light theme though?

glerk

Wow this is really awesome. Really really smooth. It's insane how after 25 years or so my muscle memory is still intact.

ulrischa

Though this is impressive, I think this is something that should not be possible with a declarative styling language

show comments
crimsonnoodle58

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

stoobs

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

aggregator-ios

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

ChrisArchitect

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

elinear

I noticed my cursor was continuously sliding upward first in Neal.fun's latest canvas multiplayer game and I experienced it here as well. Anyone else see this behavior?

And maybe a skill issue but I was unable to jump out of the slime...

boredemployee

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

show comments
criley2

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

iandanforth

Crazy, such memories. Thanks!

xyproto

Has science gone too far?

casey2

Pretty fun to go into f12 and delete the enemy's face.

joehabeebs

Really impressive

system2

My dark reader was on, and half of the map was black, but I played the first level from my memory. Amazing stuff, thank you.

kiyeonjeon

how long does it take to develop this game?

Snoopfrogg

This is dope.

rvba

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

Vaslo

But can it play Crysis?

alexb_

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.

show comments
xenophonf

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

show comments
ronbenton

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

show comments
vldszn

lowkey amazing!

zuzululu

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

cynicalsecurity

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

show comments
buffer_overlord

is there no sound?

show comments
AbraKdabra

Bro how tf.

This is insane.

AndorinaAI

lol that's crazy. Good job.

ikari_pl

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

show comments
thenthenthen

Wow