Duke4.net Forums: EDuke32 in the browser, and multiplayer finally works - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

EDuke32 in the browser, and multiplayer finally works

User is offline   Gawen Arab 

#1

Hey all,

I've been hacking on EDuke32 again, and this one's a bit of a personal milestone.

I first tried to get it running in a browser about 10 years ago, back then there was no Asyncify and WebAssembly wasn't really a thing yet, so I ended up writing my own stack-unwinding scheme to let the engine's synchronous main loop yield to the browser event loop. Single-player sort of worked, but multiplayer was hopeless: just to slow to be playable.

Ten years later, Asyncify and WASM have matured to the point where it's actually viable. So I picked the project back up, and I'm happy to share where it's at: it runs in the browser, and multiplayer works now (WebRTC under the hood).

Try it here: https://gawen.me/webduke

I'd like to upstream this properly rather than sit on a fork, so I'm splitting it into focused, reviewable MRs against master. The first is the foundation: EDuke32 compiled to WebAssembly with Emscripten

Feedback very welcome, and thanks for keeping this engine alive all these years.

Come get some. 😎
2

User is online   stillTodd 

#2

First - this is freakin' awesome to see.

On my system and at the moment, it is too slow to play, about 2 FPS. I run FireFox if that means anything.

I need to upgrade my system anyways (it's a 11yo fanless tablet thingy running Win10) and wondered if there were any minimum suggestions for CPU (architecture, speed, # of cores), amount of RAM and/or GPU if germane. For that matter, I was considering upgrading to something like Mint.

Any thoughts? I'm big on fully depreciated business Thinkpads, especially the ones with that little red button in the middle of the keyboard.

This post has been edited by stillTodd: Yesterday, 05:04 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options