bevy_webgl2
bevy_webgl2_app_template
Our great sponsors
bevy_webgl2 | bevy_webgl2_app_template | |
---|---|---|
4 | 2 | |
168 | 61 | |
- | - | |
1.7 | 0.0 | |
almost 2 years ago | almost 2 years ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bevy_webgl2
-
Is there a way to use piston with wasm?
There was a rust game jam in September 2021 and some games are playable in the browser. In that game jam the most used game engine was the bevy game engine. But most of the games made in bevy were not made playable in the browser, the ones that were playable in the browser used a third-party bevy plugin called bevy_webgl2. However now bevy has been updated to version 0.6 that has new built in WASM support, so there seems to be no need for bevy_webgl2. Targeting WASM with bevy might mean that not all features of the engine are available, so you need to limit the game’s features used to the ones that are compatible with WASM.
-
Bevy 0.5
For web assembly there is the unofficial bevy_webgl2 plugin. Official bevy web assembly support would probably use the wgpu webgl backend, which still needs some work, and is currently untested in bevy.
-
Running ML models in a game (and in Wasm!)
Thanks to bevy_webgl2, this is actually very straightforward. I just need to add the plugin WebGL2Plugin and disable the default features of Bevy to only enable the one available on Wasm.
-
Advice for doing a web-playable 7DRL
Bevy has bevy_webgl2, which is supposed to enable a way to compile bevy for wasm and consequently run in a browser.
bevy_webgl2_app_template
-
status of wasm32 support in existing game frameworks/engines
It's a work in progress, but it still works. Check out bevy_webgl2_app_template
-
Running ML models in a game (and in Wasm!)
There is a bevy webgl2 template if you want to build a game that can works on all platforms.
What are some alternatives?
wgpu-rs - Rust bindings to wgpu native library
awesome-bevy - A collection of Bevy assets, plugins, learning resources, and apps made by the community
bracket-lib - The Roguelike Toolkit (RLTK), implemented for Rust.
bevy - A refreshingly simple data-driven game engine built in Rust
tract - Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference
rust-analyzer - A Rust compiler front-end for IDEs
bevy-cheatbook - Unofficial Reference Book for the Bevy Game Engine
rusty-shooter - [suspended] 3d shooter written in Rust using rg3d
scavenger2 - A roguelike
cavernos - Retro fantasy terminal for building DOS-era ASCII games, powered by WebAssembly
rot.js - ROguelike Toolkit in JavaScript. Cool dungeon-related stuff, interactive manual, documentation, tests!
RoguelikeTutorial2020 - r/RoguelikeDev Does The Complete Roguelike Tutorial