python-tcod
bracket-lib
Our great sponsors
python-tcod | bracket-lib | |
---|---|---|
17 | 27 | |
394 | 1,449 | |
1.8% | 1.7% | |
8.7 | 0.0 | |
11 days ago | 2 months ago | |
Python | Rust | |
BSD 2-clause "Simplified" License | MIT 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.
python-tcod
-
FYI - The "SDL failed to get a vertex buffer for this Direct3D 9 rendering batch!" warning has been fixed with tcod version 16.1.1
More information about the update: https://github.com/libtcod/python-tcod/releases/tag/16.1.1
-
Sharing Saturday #471
I'm currently writing another Python tutorial. I was hoping to have part-1 finished before this Sharing Saturday but it started while I'm still in the middle of updating the website. You can see the part-1 source I'm going with here and the resources I plan on using are organized here.
-
Is really Python3 so slow with libtcod?
See this NumPy/SciPy cave generator for a performant example.
-
Python libraries?
scipy.signal.convolve2d again, but used to count neighbors instead of masking them based on their direction. See this script for a cave generation example.
-
Sharing Saturday #422
python-tcod | GitHub | Issues | Forum | Changelog | Documentation
-
RoguelikeDev Does The Complete Roguelike Tutorial Starting June 28th 2022
The python-tcod repository is here. This is the full source of the Python port including all the C sources of libtcod which are included as a sub-module plus all the setup scripts invoked. Most source repos are linked from their PyPI package page.
-
Considering changing from libtcod to pygame for tiles…
I'll be asking you to install tcod from the sdl branch of its Git repository. I'd recommended cloning the repo but that isn't required. You just need to tell pip install where the experimental source is.
-
What does this OpenGL error mean?
This is a known issue. Libtcod will fallback to the SDL2 renderer and will then run correctly, so this error only notes that the OpenGL renderers failed to initialize but won't prevent libtcod programs from running.
-
Can anyone assist me with an issue installing tcod in Arch Linux?
I found old bugs with similar issues (breaking on some sdl dependencies) on https://github.com/libtcod/python-tcod and filed an issue.
-
Sharing Saturday #374
python-tcod | GitHub | Issues | Forum | Changelog | Documentation
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)
What are some alternatives?
libtcod - A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.
bevy - A refreshingly simple data-driven game engine built in Rust
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
Amethyst - Data-oriented and data-driven game engine written in Rust
roguelike-tutorial - Following http://rogueliketutorials.com/ ...but with Scala and Indigo.
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.
procedural_generation_godot - Commits for basic procedural generation in Godot engine
libtcod-vcpkg-template - A template for C++17 libtcod projects. This template uses Vcpkg to fetch dependencies.
bevy_webgl2 - WebGL2 renderer plugin for Bevy game engine
rdl2021-tutorial - /r/roguelikedev Tutorial 2021
Rust-HTML-roguelike - Rust WASM + HTML roguelike