Libtcod
libtcod: Open Source C/C++ and Python Library for Roguelike Gamess
libtcod is an open source C/C++ and Python library for developing roguelike games and procedural content generation. It handles input, graphical output, and provides helpful functions like field-of-view, pathfinding, random number generation, and more.
What is Libtcod?
libtcod is an open source C/C++ and Python library designed to help developers create roguelike games and applications featuring procedural generation. It was originally developed by Jice in 2008 and has been used in many roguelike games since then.
Some of the key features of libtcod include:
- Portability - Works on Windows, Mac, Linux, iOS, Android, and Web via Emscripten
- Fast graphical console rendering using SDL
- Field-of-view calculations
- Pathfinding algorithms like A*, Dijkstra's
- Random number generation
- Noise functions for procedural generation
- Lua scripting support
- Python bindings
By providing cross-platform graphical output, input handling, and common roguelike utilities, libtcod simplifies development so developers can focus on their game logic and content. Its modular approach makes it customizable as well. Many developers use it as a base then build custom systems on top of it.
While designed for roguelikes originally, libtcod has proven useful for other types of games and applications featuring procedural generation as well. Its wide language support via C/C++, Python, and Lua bindings makes it a versatile library for many projects.
Libtcod Features
Features
- Roguelike game engine
- Procedural content generation
- Field-of-view calculations
- Pathfinding algorithms
- Pseudorandom number generation
- Customizable graphical user interface
- Mouse and keyboard input handling
- True-color console rendering
- Customizable color palettes
- Unicode text rendering
- Portable across platforms
Pricing
- Open Source
Pros
Cons
Official Links
Reviews & Ratings
Login to ReviewThe Best Libtcod Alternatives
View all libtcod alternatives with detailed comparison →
Top Gaming Software and Game Engines & Frameworks and other similar apps like Libtcod
Here are some alternatives to Libtcod:
Suggest an alternative ❐Ncurses
FTXUI
BearLibTerminal
Rot.js