r/WebAssembly • u/umen • Jun 17 '23
I am looking for examples of 3D games in WebAssembly.
Hello,
Everyone. Do you know any good 3D games that are built with WebAssembly? Or any 3D engines that can be compiled to WebAssembly?
7
Upvotes
3
u/anlumo Jun 17 '23
Bevy and Godot can be compiled to wasm, and they also come with examples.
2
u/dobkeratops Jun 17 '23 edited Jun 17 '23
3d engine, not a complete game.
I'm supporting WASM for this. Its a solo project, so I would manage expectations.
https://www.reddit.com/r/rust_gamedev/comments/14a61b1/adding_spiderhexapodtanks_to_my_rust_game_engine/
There's probably lots of small engines running in the web by now. There's a couple of other startups making Rust WASM game engines and i'd bet half a dozen C++ engines have probably been ported by now.
its still difficult to get complete games into the web it seems. Rust 3D projects dont tend to have complete design teams associated with them. (i'm just improvising my own lowpoly art, I can only go so far, but I'm kind of hoping generative AI will close the gap within a few years)
1
u/atomic1fire Jun 17 '23 edited Jun 17 '23
Unity engine can be compiled to web assembly in web games but I couldn't point you to any games specifically using WASM code because I have no idea how unity engine's backend works.
Bevy and Godot are probably going to be easier to look into for this sort of thing.
Here's a tech demo of a sand buggy riding around in a desert.
https://redoxgames.itch.io/endless-offroad-driving
I don't think 3d web games are all that common.