bevy_webgl2 VS bevy

Compare bevy_webgl2 vs bevy and see what are their differences.


WebGL2 renderer plugin for Bevy game engine (by mrk-its)


A refreshingly simple data-driven game engine built in Rust (by bevyengine)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
bevy_webgl2 bevy
4 555
168 26,084
- 3.8%
1.7 9.8
almost 2 years ago 5 days ago
Rust Rust
MIT License MIT OR Apache-2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.


Posts with mentions or reviews of bevy_webgl2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-09.
  • Is there a way to use piston with wasm?
    10 projects | /r/rust_gamedev | 9 Jan 2022
    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
    14 projects | /r/rust | 6 Apr 2021
    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!)
    6 projects | | 19 Feb 2021
    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
    9 projects | /r/roguelikedev | 13 Feb 2021
    Bevy has bevy_webgl2, which is supposed to enable a way to compile bevy for wasm and consequently run in a browser.


Posts with mentions or reviews of bevy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-19.
  • List of Unity alternatives
    11 projects | /r/gamedev | 19 Sep 2023
  • Can Godot screw us like Unity did?
    2 projects | | 18 Sep 2023
    This is something that can certainly happen. In fact, this is exactly what happened with the Bevy engine, in which a total of 246 contributors agreed to relicense the engine, as explained in this blog post. However, in this case it was done for the good of the engine and its users.
  • Unity’s New Pricing: A Wake-Up Call on the Importance of Open Source in Gaming
    5 projects | | 15 Sep 2023
    I was crowing to my game dev buddy about how he (a Unity C-sharp developer) ought to check out Bevy and Rust because the Rust type system is friggin’ awesome!

    Code examples:

    License is Apache 2.0 OR MIT:

  • Unity plan pricing and packaging updates
    4 projects | | 12 Sep 2023
    For those who are more code centric and like rust, is a good alternative to godot as far as open source goes.
  • Rust Cryptography Should Be Written in Rust
    10 projects | | 26 Aug 2023
    It's become rather popular in the graphics (e.g. and game dev (e.g. ) spaces.

    It's pretty popular for AWS Lambda functions.

    Pretty popular for terminal / shell applications.

    Definitely a great way to write wasm for compute or graphics intensive browser/web apps.

  • How to implement multiple levels on WASM
    2 projects | /r/bevy | 9 Aug 2023
    It seems like the best way to approach levels for a desktop build is to save and load scenes as shown in this example (which seems pretty straightforward), but as noted in that file, this doesn't work on WASM since there isn't a file system.
  • Unix-like OS in Rust inspired by xv6-riscv
    7 projects | | 25 Jul 2023
    If you like you can copy what I did:, which I copied from (just that my repo has was less stuff, so might be easier to copy from).
  • Egregoria is a city simulation with high granularity
    6 projects | | 22 Jul 2023
    I think Rust for games has come really far. I will cite "Almost. We have the blocks, bring your own glue.".

    All the blocks are there and the language is really well suited to games.

    On top of my head:

    The pros:

    - The crate ecosystem and the package manager makes it really easy to integrate any useful component such as pathfinding, spatial partitioning, graphics backend, audio system.. Most crates take a lot of effort to be cross-platform so I can develop on linux and not spend too much time debugging windows releases.

    - The strong typing and algebraic data types makes expressing the game state very pleasant. I also found I was able to develop a very big game without too many bugs even though I don't write many tests.

    - Ahead of time compilation + LLVM guarantees you won't have to optimise for weird things around a virtual machine. Rust gives you more control to optimise hot loops as you can go low-level.

    - I find wgpu to be the perfect balance between ergonomics and power compared to Vulkan. OpenGL support through wgpu is also a nice addition for lower end devices.

    - The Rust community is very helpful, you can often talk directly to crate maintainers

    The cons:

    - Compilation times, when compared to JITed languages such as C# can be very painful. It can be alleviated by buying a 3950X but I still often get 10-30s iteration times.

    - The static nature of Rust means you often need a dynamism layer above to tweak stuff that can be awkward to manage. I made inline_tweak for this purpose but it's really far from how easy Unity makes it.

    - Since Rust feels very ergonomic, you are tempted to write almost all game logic within it, so mod support feels very backwards to implement as you cannot really tweak "everything" like in Unity games. Thankfully "Systems" game like Factorio or Egregoria can be theoretically split into the "simulation" and the "entities" so mod can still have a great impact. Factorio is built in C++ so has the same problematic. Their Lua API surface is quite insane to be able to hook into everything.

    Now, I have to talk about Bevy: It did not exist when I started but it is a revolution in the Rust gamedev space. It is a very powerful 100% Rust game engine that makes you write game code in Rust too. It has incredible energy behind it and I feel like if I'd used Bevy from the start I wouldn't have had to develop many core engine systems. Its modular design is also incredibly pleasant as you can just replace any part you don't like with your own.

  • Bevy 0.11
    4 projects | /r/rust | 9 Jul 2023
    Learn how to draw sprites to the screen:
    4 projects | /r/rust | 9 Jul 2023
    Sadly while it was in a working state in time for release, we decided it needed a bit more bake time. You can check out the goals (and current progress) here! It will almost certainly land in the next release.

What are some alternatives?

When comparing bevy_webgl2 and bevy you can also consider the following projects:

Amethyst - Data-oriented and data-driven game engine written in Rust

Godot - Godot Engine – Multi-platform 2D and 3D game engine

Fyrox - 3D and 2D game engine written in Rust

RG3D - 3D and 2D game engine written in Rust [Moved to:]

piston - A modular game engine written in Rust

specs - Specs - Parallel ECS

ggez - Rust library to create a Good Game Easily

gdnative - Rust bindings for Godot 3

raylib - A simple and easy-to-use library to enjoy videogames programming

macroquad - Cross-platform game engine in Rust.

wgpu - Cross-platform, safe, pure-rust graphics api.

rust-sdl2 - SDL2 bindings for Rust