Skip to content

20.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Feb 01:32
20.1.0
22d8055

Added

  • Tileset now supports MutableMapping semantics.
    Can get, set, or iterate over tiles as if it were a dictionary containing tile glyph arrays.
    Also supports +, |, +=, and |= with other tilesets or mappings to merge them into a single Tileset.
  • tcod.tileset.procedural_block_elements can take a tile shape and return a tileset.

Deprecated

  • Tileset.set_tile(codepoint, tile) was replaced with tileset[codepoint] = tile syntax.
  • Tileset.get_tile(codepoint) was soft replaced with tileset[codepoint] syntax.
  • tcod.tileset.procedural_block_elements should be used with dictionary semantics instead of passing in a tileset.