Xonotic Forums
WebAssembly Build - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12)
+--- Thread: WebAssembly Build (/showthread.php?tid=8010)

WebAssembly Build - Addison - 04-04-2019

Has anyone considered porting Xonotic to WebAssembly? Judging by the success of projects like D3wasm it seems like it could be a worthwhile endeavor and could probably help the game reach a wider audience. I would be interested in contributing if someone is interested in working on this.

RE: WebAssembly Build - Lyberta - 04-05-2019

I'm definitely interested in WASI version so that we can redistribute the same binary for all OSes. I hope one day WASI removes the need to ever ship native binaries.

EDIT: Eh, I've tried the browser version. It took it about 9 minutes to download and I has something like 30 fps in game. Unplayable.

RE: WebAssembly Build - martin-t - 04-07-2019

I am working on something different but related - porting our gamecode to rust so it can be compiled to WASM and run on a different (technically better) engine. Here's the tracking issue: https://gitlab.com/xonotic/xonotic/issues/244

If you think you're able help porting Xonotic (the engine itself) to WASM, you should probably be able to help add WASM support to daemon (part 2 of the issue). I don't have time to work on it now (busy with part 1) and other devs are busy with other things so we're looking for people to help us.