Episode One, L.A. Meltdown, shareware version 1.3D, running in the browser on EDuke32 compiled to WebAssembly.
Duke Nukem 3D © 1996 3D Realms Entertainment, a division of Apogee Software, Ltd. This is the shareware episode exactly as 3D Realms released it (DUKE3D.GRP, version 1.3D, unmodified), shared for free under 3D Realms' shareware license: LICENSE.TXT. The complete original shareware release, with every file as 3D Realms released it (DOS, version 1.3D), is available to download: 3dduke13.zip (5.9 MB). Duke Nukem and 3D Realms are trademarks of their respective owners. This page is not affiliated with or endorsed by them; the full game is sold by its owners.
"Build Engine & Tools" Copyright (c) 1993-1997 Ken Silverman Ken Silverman's official web site: "http://www.advsys.net/ken" See the included license file "BUILDLIC.TXT" for license info.License: BUILDLIC.TXT
Built from the eduke32-wasm v0.2.4 source (commit 37b56ee) with Emscripten 6.0.5, with a few changes: online play and the Multiplayer menu entry are left out, the engine doesn't use JavaScript's eval (so the page can run under a strict security policy), saved games are kept in your browser, quitting offers to play again, and there are touch controls.
Complete source, the changes and the build scripts: github.com/AntAir267/duke3d-web. Upstream source: eduke32-wasm v0.2.4, mirrored at github.com/AntAir267/eduke32-wasm.
| Move | W A S D or the arrow keys |
| Fire | left mouse button or Right Ctrl |
| Open, use | E |
| Jump / crouch | Space / Left Ctrl (C toggles crouch) |
| Run | Shift (Caps Lock for always run) |
| Weapons | 1 to 0, or the mouse wheel |
| Inventory | Enter uses it, [ and ] pick |
| Map | Tab |
| Save / load | F2 / F3, quick save F6, quick load F9 |
| Menu | Esc (also lets go of the mouse) |
These are EDuke32's modern defaults (plus the Up and Down arrows), so the 1996 help screens (F1) list different keys. Options > Controls changes them.
The left half of the screen is a move stick: put your thumb down anywhere there and slide (push to the edge to run). Drag on the right half to look around. FIRE shoots (drag on it to aim while firing); USE opens doors and switches, then JUMP, DUCK, KICK, WPN (next weapon) and ITEM (use the selected item). MAP and MENU are at the side. In menus, use the arrows with OK and BACK. Pressing a real key hides the touch controls.