Tcod

Latest version: v16.2.3

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

Scan your dependencies

Page 3 of 44

15.0.0

Changed

- Modified the letter case of window event types to match their type annotations.
This may cause regressions. Run Mypy to check for `[comparison-overlap]` errors.
- Mouse event attributes have been changed `.pixel -> .position` and `.pixel_motion -> .motion`.
- `Context.convert_event` now returns copies of events with mouse coordinates converted into tile positions.

Deprecated

- Mouse event pixel and tile attributes have been deprecated.

14.0.0

Added

- Added explicit support for namespace packages.

Changed

- Using `libtcod 1.23.1`.
- Bundle `SDL 2.26.0` on Windows and MacOS.
- Code Page 437: Character 0x7F is now assigned to 0x2302 (HOUSE).
- Forced all renderers to `RENDERER_SDL2` to fix rare graphical artifacts with OpenGL.

Deprecated

- The `renderer` parameter of new contexts is now deprecated.

13.8.1

Fixed

- `EventDispatch` was missing new event names.

13.8.0

Added

- Ported SDL2 joystick handing as `tcod.sdl.joystick`.
- New joystick related events.

Changed

- Using `libtcod 1.22.3`.
- Bundle `SDL 2.24.0` on Windows and MacOS.

Deprecated

- Renderers other than `tcod.RENDERER_SDL2` are now discouraged.

Fixed

- Fixed double present bug in non-context flush functions.
This was affecting performance and also caused a screen flicker whenever the global fade color was active.
- Fixed the parsing of SDL 2.24.0 headers on Windows.

13.7.0

Added

- You can new use `SDLConsoleRender.atlas` to access the `SDLTilesetAtlas` used to create it.
[121](https://github.com/libtcod/python-tcod/issues/121)

Fixed

- Fixed the parsing of SDL 2.0.22 headers. Specifically `SDL_FLT_EPSILON`.

13.6.2

Fixed

- SDL renderers were ignoring tiles where only the background red channel was changed.

Page 3 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.