Tcod

Latest version: v16.2.3

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

Scan your dependencies

Page 7 of 44

12.3.2

Changed

- Using `libtcod 1.17.1`.

Fixed

- Fixed regression with loading PNG images.

12.3.1

Fixed

- Fix Windows deployment.

12.3.0

Added

- New keyboard enums:
- `tcod.event.KeySym`
- `tcod.event.Scancode`
- `tcod.event.Modifier`
- New functions:
- `tcod.event.get_keyboard_state`
- `tcod.event.get_modifier_state`
- Added `tcod.console.rgb_graphic` and `tcod.console.rgba_graphic` dtypes.
- Another name for the Console array attributes: `Console.rgb` and `Console.rgba`.

Changed

- Using `libtcod 1.17.0`.

Deprecated

- `Console_tiles_rgb` is being renamed to `Console.rgb`.
- `Console_tiles` being renamed to `Console.rgba`.

Fixed

- Contexts now give a more useful error when pickled.
- Fixed regressions with `tcod.console_print_frame` and `Console.print_frame`
when given empty strings as the banner.

12.2.0

Added

- Added `tcod.noise.Algorithm` and `tcod.noise.Implementation` enums.
- Added `tcod.noise.grid` helper function.

Deprecated

- The non-enum noise implementation names have been deprecated.

Fixed

- Indexing Noise classes now works with the FBM implementation.

12.1.0

Added

- Added package-level PyInstaller hook.

Changed

- Using `libtcod 1.16.7`.
- `tcod.path.dijkstra2d` now returns the output and accepts an `out` parameter.

Deprecated

- In the future `tcod.path.dijkstra2d` will no longer modify the input by default. Until then an `out` parameter must be given.

Fixed

- Fixed crashes from loading tilesets with non-square tile sizes.
- Tilesets with a size of 0 should no longer crash when used.
- Prevent division by zero from recommended-console-size functions.

12.0.0

Added

- Now includes PyInstaller hooks within the package itself.

Deprecated

- The Random class will now warn if the seed it's given will not used
deterministically. It will no longer accept non-integer seeds in the future.

Changed

- Now bundles SDL 2.0.14 for MacOS.
- `tcod.event` can now detect and will warn about uninitialized tile
attributes on mouse events.

Removed

- Python 3.5 is no longer supported.
- The `tdl` module has been dropped.

Page 7 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.