Tcod

Latest version: v16.2.3

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

Scan your dependencies

Page 14 of 44

11.8.0

Added

- Added `tcod.console.recommended_size` for when you want to change your main
console size at runtime.
- Added `Console.tiles_rgb` as a replacement for `Console.tiles2`.

Changed

- Using `libtcod 1.16.0-alpha.3`.
- Added parameters to `tcod.console_flush`, you can now manually provide a
console and adjust how it is presented.

Deprecated

- `Console.tiles2` is deprecated in favour of `Console.tiles_rgb`.
- `Console.buffer` is now deprecated in favour of `Console.tiles`, instead of
the other way around.

Fixed

- Fixed keyboard state and mouse state functions losing state when events were
flushed.

11.7.2

Fixed

- Fixed regression in `tcod.console_clear`.

11.7.1

Fixed

- Fixed regression in `Console.draw_frame`.
- The wavelet noise generator now excludes -1.0f and 1.0f as return values.
- Fixed console fading color regression.

11.7.0

Changed

- Using `libtcod 1.16.0-alpha.2`.
- When a renderer fails to load it will now fallback to a different one.
The order is: OPENGL2 -> OPENGL -> SDL2.
- The default renderer is now SDL2.
- The SDL and OPENGL renderers are no longer deprecated, but they now point to
slightly different backward compatible implementations.

Deprecated

- The use of `libtcod.cfg` and `terminal.png` is deprecated.

Fixed

- `tcod.sys_update_char` now works with the newer renderers.
- Fixed buffer overflow in name generator.
- `tcod.image_from_console` now works with the newer renderers.
- New renderers now auto-load fonts from `libtcod.cfg` or `terminal.png`.

11.6.0

Changed

- Console blit operations now perform per-cell alpha transparency.

11.5.1

Fixed

- Python 3.8 wheels failed to deploy.

Page 14 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.