This document exists as an easy reference for using non-ASCII glyphs in standard tcod functions. Tile Index is the position of the glyph in the tileset image. This is relevant for loading the tileset and for using Unicode is the Unicode code point as a hexadecimal
number. You can use String is the Python
string for that character. This lets you use that character inline with print functions. These will work with Name is the official name of a Unicode character. The symbols currently shown under String are provided by your browser, they typically won’t match the graphics provided by your tileset or could even be missing from your browsers font entirely. You could experience similar issues with your editor and IDE. Code Page 437¶The layout for tilesets loaded with:
This is one of the more common character mappings. Used for several games in the DOS era, and still used today whenever you want an old school aesthetic. The Dwarf Fortress community is known to have a large collection of tilesets in this format: https://dwarffortresswiki.org/index.php/Tileset_repository Wikipedia also has a good reference for this character mapping: https://en.wikipedia.org/wiki/Code_page_437
|