bracket-lib
rot.js
Our great sponsors
bracket-lib | rot.js | |
---|---|---|
27 | 20 | |
1,436 | 2,289 | |
1.7% | - | |
0.0 | 3.8 | |
about 1 month ago | 11 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.
bracket-lib
-
Does anyone care about CLI/TUI games?
I think having to use a terminal is the scary part for many people. rltk/bracket-lib can be used to get a similar look and feel if that's what's important, but it is geared toward roguelikes.
-
Minimal 2D library for games? I'm struggling a bit to settle on one to learn.
Maybe bracket-lib from the amethyst authors? Iām currently working through that book and find the library quite intuitive and simple to use. It started out as a toolkit for rouge-like games but has been getting more general. On that note, I recommend the hands-on-rust book which teaches rust concepts while building games with bracket-lib. As you have read the book, Iām sure you would get through the first chapters quickly.
-
Bevy ECS or custom implementation?
https://github.com/amethyst/bracket-lib has a great integration with Bevy, designed for exactly this sort of thing.
- libtcod use 8x8 font but scaled up to 16x16?
-
How difficult could it be to make a console program that looks like this and has a game loop running on a separate thread? Any suggestions or crate recommendations are welcome!
I've been doing some experiments with terminal based games and landed on https://github.com/amethyst/bracket-lib It's not exactly terminal based in the sense that it actually runs on OpenGL by default. But that's a plus imho because dealing with the bits of the terminal window that can change outside of your control (like fonts, window resize, etc) is a giant pita. It does let you swap the backend to run on crossterm if that's what you really want to do but if what you're after is the aesthetic like I am having bracket_lib handling all that makes life so much better.
- Rendering TUI To Web
-
Sharing Saturday #420
Bracket-Lib for Bevy Github
-
Sharing Saturday #418
Bracket-Terminal/RLTK for Bevy Github Branch | Twitter | Patreon
-
Sharing Saturday #416
bracket-lib šš» (using this now)
-
Console handling in bevy?
Hi, If you are interested in console and roguelike there is a specialised engine made just for that called bracket-lib made by Herbert Wolverson. He also has a book called Hands On Rust that is an excilent introduction to rust game development where you make a roguelike dungeon crawler in Rust using bracket-lib. I am finishing the book now and I can fully recommend it.
rot.js
-
Introducing From Stardust (a roguelike made in JavaScript)
- https://github.com/ondras/rot.js
-
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.
-
Loking for a 2D grid javascript library
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
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
You probably know already, but rot.js has some great canvas rendering routines for roguelikes.
-
Building A Powerful ASCII Game Engine For The Browser
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
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
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?
bevy - A refreshingly simple data-driven game engine built in Rust
Amethyst - Data-oriented and data-driven game engine written in Rust
VTerminal - A new Look-and-Feel (LaF) for Java, which allows for a grid-based display of Unicode characters with custom fore/background colors, font sizes, and pseudo-shaders. Originally designed for developing Roguelike/lite games.
libtcod - A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.
bevy_webgl2 - WebGL2 renderer plugin for Bevy game engine
python-tcod - A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
Rust-HTML-roguelike - Rust WASM + HTML roguelike
Axes-Armour-Ale - A fantasy, ASCII dungeon crawler for Windows, Linux & OSX
roguelike_tutorial
innit - A roguelike game where you play a micro organism inside a larger organism!
rdl2021-tutorial - /r/roguelikedev Tutorial 2021
roguelike-tutorial