Here’s port of doom to the web using zig
https://cloudef.pw/sorvi/#doom.wasm
The source code is here, the actual platform (sorvi) it is coded against is still closed as it’s not ready for public release yet.
Here’s port of doom to the web using zig
https://cloudef.pw/sorvi/#doom.wasm
The source code is here, the actual platform (sorvi) it is coded against is still closed as it’s not ready for public release yet.
The sorvi module is missing.
post must be at least 10 characters
That said the current web frontend implementation looks like this
https://zigbin.io/48d75f
The code in module sorvi is mostly auto-generated, as the sorvi is a platform for loadable freestanding cores where you target a specific CPU arch or wasm (in this case), they will run regardless of the OS as long as the platform has a frontend (loader) that can load and run the cores and you are on the same target architecture as the core was compiled for, though I plan to probably emulate riscv64 for “universal binaries”, wasm is not really that good outside of web.
there’s also simple webgl/gles demo here https://cloudef.pw/sorvi/#gles.wasm