Would it be possible to make a game engine that runs in native and WASM easily with winit and wgpu?

This page summarizes the projects mentioned and recommended in the original post on /r/rust_gamedev

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • wgpu

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

  • There's currently a PR open for WebGL 2 support, and Firefox Nightly and Chrome Canary both have WebGPU somewhat implemented behind feature flags, but I think you're correct in saying that there's no way to get wgpu to run on a "stable" browser.

  • bevy

    A refreshingly simple data-driven game engine built in Rust

  • Bevy meets all of these criteria, so it's 100% possible. Feel free to poke around the code base or ask questions on Discord if you'd like to pick the team's brains on how it works.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts