bracket-lib
libtcod
Our great sponsors
bracket-lib | libtcod | |
---|---|---|
27 | 23 | |
1,449 | 906 | |
1.7% | 2.3% | |
0.0 | 7.8 | |
2 months ago | 2 months ago | |
Rust | C | |
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.
- Turn-based game - architecture feedback/opinons
- 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)
libtcod
-
Sharing Saturday #459
libtcod | GitHub | Issues | Forum | Changelog | Documentation | Template
-
Game screen: write terminal emulator or use libtcod?
Libtcod itself uses SDL2. It maps tile glyphs to a texture atlas and maps Unicode codepoints to tile positions. Then it has another data structure called a console which has the background color, foreground color, and codepoint for each tile on that console. It then uses SDL_RenderGeometry to quickly render the background and colored glyphs to an SDL texture, skipping unchanged tiles as an optimization, then renders that texture to the window. The C99 source is here: renderer_sdl2.h renderer_sdl2.c, a C++ version would surely look better.
- Sharing Saturday #440
-
what minor tech projects do you absolutely adore?
libtcod has always been a favorite of mine. Does a lot of things to zero fanfare outside the indie roguelike scene.
-
Sharing Saturday #427
I've ended up recovering the old 1.3.2 to 1.5.0 builds of libtcod. You can find them on the GitHub releases page. Most of, maybe all of the other places which had these builds are down, but thankfully Jice still had copies of these builds.
-
RoguelikeDev Does The Complete Roguelike Tutorial - Week 3
FoV is a port from C -> Java of the algorithm found here
-
Sharing Saturday #413
libtcod | GitHub | Issues | Forum | Changelog | Documentation | Template
-
SRiC ("Simple" Roguelike in C) has stairs now, and multiple floors!
Hey man, I don't wanna piss in your cherrios if you're intentionally doing it all the hard way, but you know about tcod right? https://github.com/libtcod/libtcod/
-
libtcod roguelike C tutorial?
Browsing the repo, looks like it has a full C only API, https://github.com/libtcod/libtcod/blob/master/src/libtcod/libtcod.h
-
The 7DRL Challenge 2022 is announced! Create a complete roguelike game in 7 days.
libtcod support for terminals is in progress at least for ANSI true colour, and I have a minimal compatibility layer for UNIX only.
What are some alternatives?
bevy - A refreshingly simple data-driven game engine built in Rust
python-tcod - A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
Amethyst - Data-oriented and data-driven game engine written in Rust
SDL - Simple Directmedia Layer
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.
BrogueCE - Brogue: Community Edition - a community-lead fork of the much-loved minimalist roguelike game
notcurses - blingful character graphics/TUI library. definitely not curses.
bevy_webgl2 - WebGL2 renderer plugin for Bevy game engine
C++ Format - A modern formatting library
Rust-HTML-roguelike - Rust WASM + HTML roguelike
glsp - The GameLisp scripting language