bevy_webgl2 VS rot.js

Compare bevy_webgl2 vs rot.js and see what are their differences.

bevy_webgl2

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

rot.js

ROguelike Toolkit in JavaScript. Cool dungeon-related stuff, interactive manual, documentation, tests! (by ondras)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
bevy_webgl2 rot.js
4 20
170 2,289
- -
1.8 3.8
over 2 years ago 10 days ago
Rust JavaScript
MIT License BSD 3-clause "New" or "Revised" License
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.

bevy_webgl2

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 | dev.to | 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.

rot.js

Posts with mentions or reviews of rot.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-25.
  • Introducing From Stardust (a roguelike made in JavaScript)
    3 projects | /r/roguelikedev | 25 Nov 2022
    - https://github.com/ondras/rot.js
  • Doing a ROT.js version of the libtcod tutorial. Part 0 up now.
    2 projects | /r/roguelikedev | 3 Jul 2022
    Surprising. I've not used rot.js but I haven't found Canvas too bad for a real time game I'm working on (60 fps with 50x25 onscreen tilemap on my phone). ROT also has a WebGL backend available.
  • Sharing Saturday #414
    3 projects | /r/roguelikedev | 14 May 2022
    Thanks! I am using [rot.js](https://ondras.github.io/rot.js/hp/) map generation primitives and then layering stuff on top of that. I'll probably introduce an "outside" at some point with caves and forests you can explore.
  • Loking for a 2D grid javascript library
    2 projects | /r/gamedev | 21 Dec 2021
    Mhh, right from the get go I can't recall any standalone library. What comes in my mind is something like rot.js though. It is not a grid library per se, but it specialiced in creating dungeons, layouts, has pathfinding and such stuff in it. Maybe it is sufficient for your needs? (https://github.com/ondras/rot.js) another thing that pops in my mind is honeycomb js (https://github.com/flauwekeul/honeycomb) it is for hex grids though.
  • recommendations for engine with canvas graphics + multiplayer
    2 projects | /r/roguelikedev | 14 Oct 2021
    As per those instructions, the docs are here and accessible as always. (Though anyone in touch with the ROT.js maintainer should let them know they should update the link so people can find them more easily.)
  • Sharing Saturday #362
    8 projects | /r/roguelikedev | 14 May 2021
    You probably know already, but rot.js has some great canvas rendering routines for roguelikes.
  • Building A Powerful ASCII Game Engine For The Browser
    3 projects | /r/javascript | 13 Apr 2021
    I would not call it powerful it's just basic and simple. If you want powerful ASCII game engine there is already one that exists ROT.js it have everything that the Rouge Like game should have. I've created basic game using it https://codepen.io/jcubic/pen/oMbgym?editors=0110
  • Sharing Saturday #355
    2 projects | /r/roguelikedev | 26 Mar 2021
    Otherwise I did contribute a Pull Request for rot-js I am excited to share back to the community: https://github.com/ondras/rot.js/commit/edd35590196c0e0e1a9b1b60f2d0f314fc553149
  • Advice for doing a web-playable 7DRL
    9 projects | /r/roguelikedev | 13 Feb 2021
    This isn't really a recommendation, but I'm using Rust (compiled to Wasm) and a custom backend for cursive that interfaces with a javascript wrapper to use rot.js for the rendering. This mostly only made sense because I was already using cursive for terminal rendering, but the general approach of using Rust for the game logic and some subset of the UI logic, with the actual rendering and user input handled in javascript (or I guess typescript) is perfectly viable (wasm-bindgen makes calling Rust code from javascript or vice versa pretty straightforward).

What are some alternatives?

When comparing bevy_webgl2 and rot.js you can also consider the following projects:

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.

innit - A roguelike game where you play a micro organism inside a larger organism!

bevy - A refreshingly simple data-driven game engine built in Rust

bevy_webgl2_app_template

boardgame.io - State Management and Multiplayer Networking for Turn-Based Games

tract - Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference

bevy-cheatbook - Unofficial Reference Book for the Bevy Game Engine

emacs-ng - A new approach to Emacs - Including TypeScript, Threading, Async I/O, and WebRender.

react-roguelike - A roguelike game built with React and TypeScript.