A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
__slots__
to EventDispatch
.SDL 2.28.1
on Windows and MacOS.tcod
as an implicit alias for libtcodpy
.
You should use from tcod import libtcodpy
if you want to access this module.tcod
, get these from tcod.libtcodpy
instead.tcod.Console
which should be accessed from tcod.console.Console
instead.tcod.sdl.mouse.show
function for querying or setting mouse visibility.tcod.image.Image.from_file
to load images with. This replaces tcod.image_load
.tcod.sdl.audio.AudioDevice
is now a context manager.tcod.console_set_custom_font
can no longer take bytes as the file path.tcod.sdl.mouse.warp_in_window
function.TypeError: '_AudioCallbackUserdata' object is not callable
when using an SDL audio device callback.
#128
SDL2.dll
when other tcod namespace packages were installed.