27 ms·
D3wasm 0.4 – Doom 3 in WASM
- Keyframe 4y agoI know it's 18 years old game by now, but in my mind it's the first wave of "next gen" games (normal maps, unified lighting, etc..) so it's still kind of amazing seeing this running at 60fps on a paltry laptop (razer blade stealth) and on linux in a browser at that! edit: scratch that, thing runs even on phone at 60fps
- epakai 4y agoYeah doesn't take much these days. I played with dhewm on a surface go, and performance was amazing for a dinky 6W cpu even with the high dpi display.
- EugeneOZ 4y agoWell, on MBP M1 (Ventura) it drops from 63 to 15 sometimes (levels loading?).
- erwinh 4y agoseems not that long ago "can it run doom" was the benchmark, now we are already up to doom 3.
- rcarmo 4y agoStill waiting for Crysis.
- deleted 4y ago[deleted]
- finikytou 4y agodoom3 is a masterpiece of gaming. it represented a radical shift in how 3d was used in games, hardware shift, light shift in terms of how to light and reflect light in an environment. in terms of game design this is the pinnacle of the genre. it is to this day my favorite FPS by far. beautiful talk by carmack https://www.youtube.com/watch?v=Q1q49GxsPWM&t=4s&ab_channel=rebelidSoftware https://www.youtube.com/watch?v=Q1q49GxsPWM&t=4s&ab_channel=...
- flohofwoe 4y agoI don't know... it's definitely a masterpiece of rendering technology, but IMHO not as a game. Compared to classic Doom or the Quake games, it took too long until the action started, and everything felt so slow and sticky! It was the first Id game I couldn't really get into, and the first I didn't play to the end.
- cpuguy83 4y agoThis was the first (only?) game that legit had me jumpy. I remember one part of the game where I was in this room and a monster walked across the window, saw me, then came around and started pounding on the door. Each time the door dented a bit more until it gave out. I don't think I saw a game before Doom3 that was quite like that.
- flohofwoe 4y agoThe classic Alien vs Predator (I think?) had me literally falling out of the chair when a facehugger jumped at me :)
- cptnapalm 4y agoOnly game I ever played where I remained unmoving in one corner for half an hour and was not bored.
- wmanley 4y agoSomething I loved about that game was that stopping didn't make you safe - if you stopped for too long the aliens would come and find you. This lead to a intense experience where you had to keep going - even when terrified - because stopping was even scarier.
- jasonwatkinspdx 4y agoDuring the LAN party era my friends and I played the crap out of that series. The engine wasn't as sophisticated as what iD et all were doing, but worked perfectly fine for the gameplay. We'd spend hours trying to one up each other in deathmatch. Another gem of a game I think a lot of people overlooked that has some similarities is Natural Selection 2. This is a sort of aliens vs space marines FPS and RTS hybrid. It never really blew up but still has a community.
- tomxor 4y ago> I know it's 18 years old game by now, but in my mind it's the first wave of "next gen" games Oh man that makes me feel old. I remember first playing this on my tiny 12" powerbook from 2004... and back then It felt like a heavy weight that shouldn't quite be running on that machine.
- lostgame 4y agoOh, God - I, too; experienced DOOM 3 for the first time on a PowerPC Mac...not exactly a pleasant experience. I was an early adopter of the first Intel MacBook; and let me tell you - the difference (once we had a Universal Binary) was like riding a horse vs. driving a car. Other than Final Cut Express and Logic Express performance, I found DOOM 3 to be one of the first major signs that Intel was meant to be and here to stay.
- spullara 4y agoDepending on if you are talking about a recent iPhone, it may be faster than the laptop.
- tmikaeld 4y agoOoof, performance on an Mac Studio was not great, ~30-60fps
- zeristor 4y agoIs that an unladen MacStudio?
- TheRealDunkirk 4y agoAn African or European MacStudio?
- rcarmo 4y agoI see what you did there...
- deleted 4y ago[deleted]
- bhedgeoser 4y agoI don't get it
- Narishma 4y agoIt's from Monty Python and the Holy Grail.
- antihero 4y agoWeird, was mostly 60FPS on a 2019 MBP. Just couldn't press INSERT/HOME to actually get anywhere when necessary :(
- lmohseni 4y agoIf you hold the function key (‘fn’) and press the left arrow it works. Macs map fn+arrows to home, end, pgup, and pgdown.
- olivierestsage 4y agoIt will be interesting to see how this game's legacy will ultimately be viewed. For the first decade or so after its release, it got a lot of flak for certain design choices, like the limited access it gives the player to the flashlight, that don't seem like such a big deal anymore.
- nailer 4y agoIt’s more the genre change from action to horror. Serious Sam felt more like a Doom sequel than Doom 3 did.
- rob74 4y agoWell, if you paid attention, Doom 1 and 2 were "horror" too (the amount of "creatures from hell", mutilated bodies hanging around as decoration, enemies exploding into giblets of bloody meat etc. are pretty sure giveaways), but the technical limitations of the time prevented them from being as scary as Doom 3.
- nailer 4y agoThat’s true, it’s more the gameplay shift (jump scares, less enemies on screen at once, no power fantasy) than the aesthetic shift.
- IMTDb 4y ago"Horror" is more than just the setting, it's mainly about the gameplay. Doom 1, 2 and eternal are more action than horror. You have lots of relatively "weak" ennemies to kill. The blood and gore just intensify that "happy trigger" feeling. Rooms are bigs, allowing you to move freely to avoid projectiles. Doom 3 on the other hand is different; you very rarely have more than one enemy to beat at a time. That single enemy can absolutely shred you if you are not very careful, you have to consider each engagement carefully. The darkness and blood are tuned to intensify that "fear" feeling. Rooms are very small, limiting your ability to dodge, almost to the point of inducing claustrophobia. Painkiller was released almost as the same time as Doom and was way more action oriented, even tho it contains its fair share of gore.
- mtrycz2 4y agoOh yeah, I remember that intro. When I think of Amazon/Tesla, I always associate it with early 2000s era science-fiction videogames.
- amelius 4y agoHow long until Linux runs in WASM, with Doom running in it on Wayland?
- fsiefken 4y agomight already be possible with webvm, cheerpx and greenfield https://leaningtech.com/webvm-server-less-x86-virtual-machines-in-the-browser/ https://leaningtech.com/webvm-server-less-x86-virtual-machin... https://github.com/udevbe/greenfield https://github.com/udevbe/greenfield
- williamstein 4y agoThere's several regularly updated Linux emulators running in WASM here: https://copy.sh/v86/ https://copy.sh/v86/ I don't know if doom runs in any of them, but it would be slow.
- tommica 4y agoThis is really cool - was too afraid to play this game as a teenager, but it's great to see it in this context!
- ugjka 4y agoYeah, D3 wash such an adrenaline rush
- m00dy 4y agolooks great
- daurnimator 4y agoFails to load in firefox 105.0.1 (64-bit ArchLinux) for me. WebGL warning: <Create>: WebglAllowWindowsNativeGl:false restricts context creation on this system. d3wasm.js:1:156185 Failed to create WebGL context: WebGL creation failed: * WebglAllowWindowsNativeGl:false restricts context creation on this system. () * Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS) Uncaught TypeError: GLctx is undefined
- boppo1 4y agoJust hangs at loading the demo data (after clicking new game and choosing a difficulty) for me.
- seanalltogether 4y agoIs there a full screen option that I'm missing?
- daniel-thompson 4y agoVery impressive! Few minor artifacts with shadows and the fps counter shows 63, but otherwise, works great on Firefox on my 2021 M1 MBP. On a sidenote, I unironically love the dialogue in this game - it's so bad it's good: Guy 1> I'm tired of running damage control every time he makes a mess. Guy 2> Right, you're the control. And if that fails, I'm the damage.
- omegalulw 4y agoPersonally, I love cheesy dialogue in games like this.
- nonethewiser 4y agoSo is WASM basically just going to be about video games? And graphics rendering?
- flohofwoe 4y agoWell, that would be great, yeah. But the other web APIs (everything except WASM, WebGL and WebGPU) still have a long way to go to provide the same functionality as native APIs that are relevant for gaming. Currently the web equivalents are a massive PITA to work with. The web platform needs something like the DirectX or Proton initiatives to make it viable for games, WASM and WebGPU alone are not enough.
- vinkelhake 4y agoI have no idea why this is getting downvoted. Floh is, among other things, the author of Sokol, which is a set of cross platform libs suitable for game dev. Sokol has "native" support for the web, which means you can write your app against Sokol and don't have to deal directly with these painful web APIs. I've personally used Sokol for a number of projects and it has been great. You get something much leaner and meaner compared to the Emscripten port of SDL, which otherwise seems to be the "default" when people do these things. https://github.com/floooh/sokol https://github.com/floooh/sokol
- VikingCoder 4y agoWASD + WASM = <3
- RunSet 4y agoIf only. https://github.com/jtgrassie/xmr-wasm https://github.com/jtgrassie/xmr-wasm
- boppo1 4y agoI wondered as I clicked, "why would someone want a limited application set for WASM? Wouldn't it be better if more—Oh yes, I see."
- sails 4y agoRuns great on M2 MBA! How do I skip the dialogue and go full screen?
- ris58h 4y agoThe naming is strange though. It could be Diablo 3 or D3.js.
- jawadch93 4y ago[dead]
- sabujp 4y agofullscreen? f11 seems to be disabled
- TheAceOfHearts 4y agoIs there a console command to go straight into the action instead of having to wait through the long intro cutscene? I want to try shooting some things.
- Felk 4y agoYou can use the Home key to skip cutscenes. Click on "show help" for more alternate controls
- wrycoder 4y agoThere’s an X-plane app for iOS. It’s fully flyable, 35,000 real-world airports, full instruments and nav aids, etc. $5 per month.
- Toutouxc 4y agoSorry, but what does X-plane on iOS have to do with browser Doom? Also some of the planes in mobile Xp are terribly simplified (A320), the controls suck and the clouds render in pink on iPad Mini 6.
- omeysalvi 4y agoDoom 3's design suffered due to its programming innovations. Since the game developers wanted to show off the real time lighting, they opted for a horror like design that showed off the tech. It kinda drove it away from the thing that made the original Doom games fun - fast paced fps action
- boppo1 4y agoHow are graphics calls handled? WebGPU?
- cloogshicer 4y agoAccording to the project page [1], WebGL. WebGPU is still in development, it's the successor of WebGL and not yet supported by stable browsers. [1] http://www.continuation-labs.com/projects/d3wasm/ http://www.continuation-labs.com/projects/d3wasm/
- alwaysal44 4y agoThis port uses WebGL. There are no games out there yet that are using WebGPU in production, it's only available in Origin Trial. It goes live by default in Chrome February 2023.
- astlouis44 4y agoThe same author also did a port of Arkane's Arx Fatalis to WebAssembly. Interestingly, both Doom 3 and Arx are now owned by Microsoft with the Zenimax acquisition, so it would be interested to see these two games on the frontpage in a gaming section when you open the Edge browser. https://wasm.continuation-labs.com/arxdemo/ https://wasm.continuation-labs.com/arxdemo/
- anthk 4y agoThat's because both engines are under a libre license. Check Arx Libertatis.
- cloogshicer 4y agoSomething Doom 3 handled amazingly is how computers are controlled in first person. As your crosshair approaches the screen, it turns into a mouse cursor, and you can control the computer as you would a regular desktop PC. It just feels so natural. I'm surprised that this wasn't copied more by other games. Probably because it doesn't work as well on consoles with a controller.
- atomlib 4y agoKind of like real life as well. I always lower my weapon or item whenever I approach a terminal or a touchscreen in an elevator.
- deleted 4y ago[deleted]
- oblak 4y agoMe? I am old school and just clip right through some surfaces.
- bombcar 4y agoStrange, I always shoot the computer first - only if it is invulnerable to bullets do I know it’s actually important.
- mattigames 4y agoSame approach I take with NPCs.
- denkmoon 4y agoWith this character's death, the thread of prophecy is severed. Restore a saved game to restore the weave of fate, or persist in the doomed world you have created.
- PoignardAzur 4y agoIf I understand your description right, I think Prey (the Arkane one) does the same thing. It does feel pretty awesome and natural; really helps you feel like you're in a corporate world with touchscreens everywhere.
- Tepix 4y agoWorks well on MBP16 M1 Pro. What's the best version of Doom 3 these days to use on Apple Silicon?
- erwincoumans 4y agoDhwem3 has a native macOS M1 (arm64) version that runs well: https://github.com/MacSourcePorts/dhewm3/releases https://github.com/MacSourcePorts/dhewm3/releases
- refracture 4y agoFrom the awesome terminals and PDA that didn't grant you a break from the demons.. Doom 3 still remains a wonderful immersive experience. Replaying it last year was really surprising to me; it's still great.
- djmips 4y agoOne background article on Doom3 renderer. I'm sure there's more from Carmack himself. https://fabiensanglard.net/doom3_bfg/renderer.php https://fabiensanglard.net/doom3_bfg/renderer.php
- madrox 4y agoI'm getting ~15 FPS on this demo, which is roughly the same FPS I got on my potato PC when Doom 3 launched. Really brings me back. I'm used to seeing Doom running on all kinds of platforms, but it's inspiring and humbling to see Doom 3 - a game I have vivid memories of being in awe of - running in a browser. It really highlights how far tech has come when I wasn't looking. In many ways, my old eyes don't see much different from Doom 3 high end graphics and the graphics of modern games.
- jamesfinlayson 4y ago> It really highlights how far tech has come I remember seeing primitive Flash versions of Half-Life, Quake and Return to Castle Wolfenstein running in a browser ten or so years ago and I thought that was amazing.
- beebeepka 4y agoDear god, I was just thinking that it's about time we have Doom 3 running in a browser. Good job. In fact, 8 am going to try it right now
- oblak 4y agoDr. Malcolm Betruger: Amazing things will happen here soon, you just wait. Took a while but he was right.
- injidup 4y agoThis may be some kind of malware. I ran it till the game downloaded and started playing. Suddenly I noticed that my mouse cursor was no longer visible. After restarting the computer the mouse cursor is still missing. I've tried this twice now, including turning off the power. The mouse still works and I can click and scroll but the cursor is not visible.
- gjs278 4y ago
- rglover 4y agoThis is a total mind blow. Consistently got 15-30+ FPS. It's early, but this is the future. No need for a console/native build, just pop open a browser and jump in.
- wmanley 4y agoI don't think it is the future - but not because of the technology. Things in the browser have proven hard to monetize, unlike app stores/steam/consoles which have been built to enable selling.
- rglover 4y agoThe smart players will just run a custom headless browser in a glorified nix box with a console-like case and price it at a premium. Profit would be insane.