Tcod

Latest version: v17.1.0

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

Scan your dependencies

Page 10 of 45

11.16.0

Added

- Added `tcod.context.new` function.
- Contexts now support a CLI.
- You can now provide the window x,y position when making contexts.
- `tcod.noise.Noise` instances can now be indexed to generate noise maps.

Changed

- Using `libtcod 1.16.0-alpha.13`.
- The OpenGL 2 renderer can now use `SDL_HINT_RENDER_SCALE_QUALITY` to
determine the tileset upscaling filter.
- Improved performance of the FOV_BASIC algorithm.

Deprecated

- `tcod.context.new_window` and `tcod.context.new_terminal` have been replaced
by `tcod.context.new`.

Fixed

- Pathfinders will now work with boolean arrays.
- Console blits now ignore alpha compositing which would result in division by
zero.
- `tcod.console_is_key_pressed` should work even if libtcod events are ignored.
- The `TCOD_RENDERER` and `TCOD_VSYNC` environment variables should work now.
- `FOV_PERMISSIVE` algorithm is now reentrant.

11.15.3

Fixed

- `tcod.tileset.Tileset.remap`, codepoint and index were swapped.

11.15.2

Fixed

- `tcod.path.dijkstra2d`, fixed corrupted output with int8 arrays.

11.15.1

Changed

- `tcod.event.EventDispatch` now uses the absolute names for event type hints
so that IDE's can better auto-complete method overrides.

Fixed

- Fixed libtcodpy heightmap data alignment issues on non-square maps.

11.15.0

Added

- `tcod.path.SimpleGraph` for pathfinding on simple 2D arrays.

Changed

- `tcod.path.CustomGraph` now accepts an `order` parameter.

11.14.0

Added

- New `tcod.los` module for NumPy-based line-of-sight algorithms.
Includes `tcod.los.bresenham`.

Deprecated

- `tcod.line_where` and `tcod.line_iter` have been deprecated.

Page 10 of 45

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.