Tcod

Latest version: v16.2.3

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 44

11.12.0

Added

- Added `tcod.context` module. You now have more options for making libtcod
controlled contexts.
- `tcod.tileset.load_tilesheet`: Load a simple tilesheet as a Tileset.
- `Tileset.remap`: Reassign codepoints to tiles on a Tileset.
- `tcod.tileset.CHARMAP_CP437`: Character mapping for `load_tilesheet`.
- `tcod.tileset.CHARMAP_TCOD`: Older libtcod layout.

Changed

- `EventDispatch.dispatch` can now return the values returned by the `ev_*`
methods. The class is now generic to support type checking these values.
- Event mouse coordinates are now strictly int types.
- Submodules are now implicitly imported.

11.11.4

Changed

- Using `libtcod 1.16.0-alpha.10`.

Fixed

- Fixed characters being dropped when color codes were used.

11.11.3

Changed

- Using `libtcod 1.16.0-alpha.9`.

Fixed

- `FOV_DIAMOND` and `FOV_RESTRICTIVE` algorithms are now reentrant.
[libtcod48](https://github.com/libtcod/libtcod/pull/48)
- The `TCOD_VSYNC` environment variable was being ignored.

11.11.2

11.11.1

Changed

- Using `libtcod 1.16.0-alpha.8`.

Fixed

- Changing the active tileset now redraws tiles correctly on the next frame.

11.11.0

Added

- Added `Console.close` as a more obvious way to close the active window of a
root console.

Changed

- GCC is no longer needed to compile the library on Windows.
- Using `libtcod 1.16.0-alpha.7`.
- `tcod.console_flush` will now accept an RGB tuple as a `clear_color`.

Fixed

- Changing the active tileset will now properly show it on the next render.

Page 12 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.