It is awesome though.
Most of the time, things seem to be optimized for Chrome, but with this, I actually had the impression that Firefox ran a bit smoother, but I tested it on Linux.
Perhaps there's something wrong with your web browser. Try Firefox - it works beautifully there.
On my 7945HX this is plenty fast.
Checked out https://cssdoom.wtf/ and loved it too, both are far lighter than current affairs. \o/
Regarding the game logic, the build step has a small JS extractor over QuakeC/progs.dat to generate JSON source facts: states, models, attacks, sounds, etc. The browser runtime is TypeScript and consumes those for Quake-ish gameplay.
Not possible, but it would be possible to reimplement Quake's logic and controls in CSS to have it run without JS. I was considering doing that for my next CSS crime project, though now that CSSQuake has hit the hn frontpage there is little point in doing so.
- https://pantel.is/projects/css3d/
- https://keithclark.co.uk/labs/css-fps/ (the original)
but quake and doom took it to the next level :)
edit: both on chromium and firefox, desktop linux.
Also nice achievement...!
And maybe a skill issue but I was unable to jump out of the slime...
@media speech {
body {
cue-before: url(/path/to/sound.ogg);
}
}
https://www.w3.org/TR/CSS2/aural.htmlThis is insane.