06.24
libtcod tries to provide the easiest API for most usual tasks in roguelike development. You can request for new features on the library
forum.
Main features *
(*) The screenshots come from the samples included with the library
portableMakes your C/C++/python game code easily portable on windows and linux. Third party ports exists for other system and languages. |
keyboard and mouse inputThe keyboard module support both turn-by-turn and real time games. |
true color consoleDon’t limit yourself to monochrome or 16 color roguelikes. True colors create a whole world of new visual possibilities. Check the |
antialiased bitmap font supportAntialiasing makes it possible to have better looking fonts, even when you’re using characters as small as 8×8. |
Sub-cell resolution & SDL callbackUse a few special characters in the font to simulate pixels twice smaller than the console cell or directly apply SDL post-processing on the image. |
unicode supportSeveral unicode bitmap fonts included. |
high quality pseudo-random number generatorUsing Complementary Multiply With Carry or Mersenne twister algorithm. |
advanced plain text configuration file parserConfig files use a human readable format with builtin support for lots of variables types including colors, dices, … |
bmp and png images support |
Perlin noise toolkit |
heightmap toolkitTools to generate heightmaps. Click on the screenshot to see the video. |
field of view toolkitSupport for algorithms : * basic raycasting * recursive shadowcasting * diamond raycasting * precise permissive fov * restrictive shadowcasting a.k.a. MRPAS |
path finding toolkitUsing A* or Dijkstra algorithms, with either a builtin map data structure or your own internal data structure through function callbacks. |
BSP toolkitFor regions, cities, dungeons building. See |
compression support through zlibMainly for savegames. |
Flexible name generatorHighly customizable syllables based name generator. Comes with 20 predefined syllables sets including Celtic, Norse sounding names and Region/Cities dedicated sets. |







