Tcod

Latest version: v16.2.3

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

Scan your dependencies

Page 19 of 44

9.2.3

Deprecated

- The behavior for negative indexes on the new print functions may change in
the future.
- Methods and functionality preventing `tcod.Color` from behaving like a tuple
have been deprecated.

9.2.2

Fixed

- `Console.print_box` wasn't setting the background color by default.

9.2.1

Fixed

- `tcod.sys_get_char_size` fixed on the new renderers.

9.2.0

Added

- New `tcod.console.get_height_rect` function, which can be used to get the
height of a print call without an existing console.
- New `tcod.tileset` module, with a `set_truetype_font` function.

Fixed

- The new print methods now handle alignment according to how they were
documented.
- `SDL2` and `OPENGL2` now support screenshots.
- Windows and MacOS builds now restrict exported SDL2 symbols to only
SDL 2.0.5; This will avoid hard to debug import errors when the wrong
version of SDL is dynamically linked.
- The root console now starts with a white foreground.

9.1.0

Added

- Added the `tcod.random.MULTIPLY_WITH_CARRY` constant.

Changed

- The overhead for warnings has been reduced when running Python with the
optimize `-O` flag.
- `tcod.random.Random` now provides a default algorithm.

9.0.0

Changed

- New console methods now default to an `fg` and `bg` of None instead of
white-on-black.

Page 19 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.