Best declarative game engines for in-browser apps?

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

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

    Write PIXI apps using React declarative style

  • I just tried using React Pixi + PixiJS to have a very light 'engine' with a familiar, declarative style. I found performance to be excessively poor because of React's reconciler processing 35,000 elements and trying to implement culling that meaningfully addresses the bottleneck.

  • indigo

    An FP game engine for Scala.

  • I found Indigo to be a potential alternative, that would keep me in JS, but it doesn't seem like it has anywhere near the community support of Bevy nor is it anywhere near v1.0. So, I'm hesitant to start my Next Big Project using it.

  • 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
  • bevy

    A refreshingly simple data-driven game engine built in Rust

  • I'm now looking at other options. I think I am leaning towards using Bevy and compiling the Rust to WASM and running like that. I feel this way because Bevy is the most popular, declarative game engine that I have been able to find. My concern is that using ECS might be pointless when ran in the browser (unfounded, just guessing) and that I'm going lower-level than I intended in an attempt to stay declarative.

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