libtcod
A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator. (by libtcod)
libtcod-vcpkg-template
A template for C++17 libtcod projects. This template uses Vcpkg to fetch dependencies. (by HexDecimal)
libtcod | libtcod-vcpkg-template | |
---|---|---|
23 | 15 | |
913 | 17 | |
1.6% | - | |
7.8 | 4.6 | |
3 months ago | 5 months ago | |
C | C++ | |
BSD 3-clause "New" or "Revised" License | The Unlicense |
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.
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.
libtcod
Posts with mentions or reviews of libtcod.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-24.
-
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.
libtcod-vcpkg-template
Posts with mentions or reviews of libtcod-vcpkg-template.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-23.
-
Sharing Saturday #472
It doesn't teach on its own, but the libtcod-vcpkg-template can help with quickly setting up Vcpkg and libtcod in a cross-platform manner. Parts might need to be updated to work with C++20 or later. This template also creates Emscripten builds.
-
Cannot get libtcod to compile properly using vcpkg on Fedora Linux
Hello all. I'm trying to get the libtcod example project to compile, but seem to be running into errors at every step. When I compile normally and run the binary, I get the error:
-
C++ and libtcod; linker errors
I've just checked, and Visual Studio can build/run the libtcod template. So if you setup a CMakeLists.txt to use Vcpkg then your project should run even without VSCode's CMake Tools plugin.
-
Sharing Saturday #422
libtcod | GitHub | Issues | Forum | Changelog | Documentation | Template
-
RoguelikeDev Does The Complete Roguelike Tutorial - Week 1
I'm working in C++17 and doing the ancient C++ tutorial on RogueBasin. I'm starting from the libtcod C++ template and plan on using the latest libtcod features rather than the older ones taught by that tutorial. My new repository is here.
-
C++ libraries for ascii graphics?
Libtcod's Vcpkg template could work for your conditions. The tools it uses are cross-platform, using VSCode as the IDE rather than Visual Studio, but running CMake manually should work also.
-
Are there any actual full tutorials for installing libtcod with vcpkg and cmake?
I've made this template project, but I've since modified it so that I can use it to develop libtcod with, so right now it only uses Vcpkg to fetch the dependencies for libtcod and then builds libtcod from a submodule. This template is complete as-is and will compile and run if you follow the instructions.
-
Sharing Saturday #409
I've updated the C++ template project to upload build artifacts (listed as automated-builds in any passing workflow.) It also automatically publishes builds as GitHub Releases when you push an annotated tag to the repository. I added one of the libtcod fonts too so that it's clear how to handle data assets in a project.
-
Installing libtcod c++ on Linux/Ubuntu
The GitHub releases don't include a Linux binary, you'll have to compile it yourself. The easiest way is to use the template project which is cross-platform.
-
Sharing Saturday #388
libtcod | GitHub | Issues | Forum | Changelog | Documentation | Template
What are some alternatives?
When comparing libtcod and libtcod-vcpkg-template you can also consider the following projects:
python-tcod - A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
dear-imgui-unity - Unity package for Dear ImGui
SDL - Simple Directmedia Layer
bracket-lib - The Roguelike Toolkit (RLTK), implemented for Rust.
RSRevived
BrogueCE - Brogue: Community Edition - a community-lead fork of the much-loved minimalist roguelike game
tcod_tutorial_v2
notcurses - blingful character graphics/TUI library. definitely not curses.
glsp - The GameLisp scripting language
C++ Format - A modern formatting library
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
libtcod vs python-tcod
libtcod-vcpkg-template vs dear-imgui-unity
libtcod vs SDL
libtcod-vcpkg-template vs python-tcod
libtcod vs bracket-lib
libtcod-vcpkg-template vs RSRevived
libtcod vs BrogueCE
libtcod-vcpkg-template vs tcod_tutorial_v2
libtcod vs notcurses
libtcod-vcpkg-template vs glsp
libtcod vs C++ Format
libtcod-vcpkg-template vs imgui