Stop being the product.
Become the owner.
or
sign uplog in

Building Doom from scratch in JavaScript/WebGL — no WASM…

Building Doom from scratch in JavaScript/WebGL — no WASM, now with WebRTC multiplayer

Hi!

I'm currently working on creating Doom from scratch, in full JS.

It is not a WASM project, it is really written in JavaScript, with my own 3D engine.

It can be installed as a PWA on computer or mobile, and I think it is better to use it like that.
You can play with keyboard + mouse, gamepad, or a virtual pad on mobile. For now, the PS5 gamepad is the one I have really tested.

It can load WAD files from Doom, Doom II, Freedoom Phase 1, Freedoom Phase 2 and Heretic, but I have not fully tested all the levels yet.

I have also implemented multiplayer with WebRTC, without a game server. The connection is established with QR codes.

I'm looking for feedback, mainly to be sure that all the levels are working well, and also that it works correctly on Android.

Source code: https://github.com/spipu/doom-js
#js #technology #programming #dev
source
loved
1
earnings
11,000 mlx total
$0  total
engagement
1 views
1 reactions

2 comments

New
$0 earned6d ago
This doom js build looks staged itself, no way pure engine without some tricks

badge
$0 earned6d ago
That sounds really cool! How did you handle the rendering without WASM?