bevy_webgl2
rot.js
Our great sponsors
bevy_webgl2 | rot.js | |
---|---|---|
4 | 20 | |
171 | 2,299 | |
- | - | |
1.8 | 3.8 | |
over 2 years ago | 24 days ago | |
Rust | JavaScript | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
rot.js
-
New Project -Help me decide on a Framework/ Library
I can recommend rot.js. It offers both ascii and tileset support.
-
I'm trying to create a very basic outline for how to create a roguelike map generator (nothing else), but I'm struggling.
ROT.JS is a great library for making quick roguelikes and being in javascript means you can inspect the code. It has a number of map generation algorithms that you can mess around with to make interesting dungeons. https://ondras.github.io/rot.js/hp/
-
[2023 in RoguelikeDev] Lost Gardens of the Stone Heart
Lost Gardens of the Stone Heart is a browser game in traditional ASCII style, written in Javascript with the ROT.js and Tracery libraries. Or, at least, it will be when it reaches that magic critial mass of features and things actually happening and coalesces into something deserving the adjective.
-
Introducing From Stardust (a roguelike made in JavaScript)
- https://github.com/ondras/rot.js
-
The base for the RogueLike game with ROT.js
The code is Open Source (like everything on CodePen) and anyone can modify the game to add more features. I just want to share it here so someone maybe will create something more fun with it. It uses ROT.js library. Note that the code was created quite some time ago and it's written in ES5 version of JavaScript.
-
[rot.js]: highlight a hex (border color)
I've been looking through the rot.js source, but it doesn't seem like it's currently possible to change the border color of a hex. Does anyone have experience with this?
-
Doing a ROT.js version of the libtcod tutorial. Part 0 up now.
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
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.
-
I made a daily roguelike game that works like Wordle
I used ClojureScript and ROT.js to build it.
-
JS vs Godot for a Roguelike?
It sounds like you want something high scope. However, if you're asking what engine you should use then it sounds like you haven't got a prototype yet. Which would be faster to make in Javascript - there's libraries like ROT.jd to speed things up.
What are some alternatives?
wgpu-rs - Rust bindings to wgpu native library
bracket-lib - The Roguelike Toolkit (RLTK), implemented for Rust.
innit - A roguelike game where you play a micro organism inside a larger organism!
awesome-bevy - A collection of Bevy assets, plugins, learning resources, and apps made by the community
boardgame.io - State Management and Multiplayer Networking for Turn-Based Games
bevy - A refreshingly simple data-driven game engine built in Rust
emacs-ng - A new approach to Emacs - Including TypeScript, Threading, Async I/O, and WebRender.
bevy_webgl2_app_template
react-roguelike - A roguelike game built with React and TypeScript.
tract - Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference
Rust-HTML-roguelike - Rust WASM + HTML roguelike