python-tcod
python-tcod copied to clipboard
A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
Would like to add support for input from gamepads. SDL 1.2 had this through Joystick support. SDL 2 added support for game controllers, which at a glance appear to be...
Hey! :) I was playing around with TrueType fonts (OpenSans, Courier New, Fira Code) on MacOS. And it seems that the font is rendered to small in comparison to the...
Running on macOS Mojave (10.14.6) with tcod 11.18.2 at the end of the roguelike tutorial stage 3: http://rogueliketutorials.com/tutorials/tcod/v2/part-3/ The code is running fine and I see what I expect to....
Wheels built for MacOS require the [delocate tool](https://github.com/matthew-brett/delocate) to be run on them. Otherwise SDL will not be bundled with the wheel. Deployments run this tool outside of the normal...
Sometimes I receive the error: -[MTLRenderPipelineDescriptorInternal validateWithDevice:]:2400: failed assertion `No valid pixelFormats set.' And python crashes completely. How would you advise me helping to isolate the error?
Enabling SDL logging allowed me to track down this error. https://github.com/libtcod/python-tcod/blob/49ebc65ddf0fb0292f667dca9d43b7d5fe1ca7bd/tcod/sdl/render.py#L316 This line creates a texture and takes ownership, but SDL will sometimes destroy the texture owned by this object,...
Events are a mess right now and need to be cleaned up. Multiple bad ideas need to be deprecated and removed in a way which allows for backwards compatibility. -...
Unlike other Python-to-web ports, [Pyodide](https://pyodide.org/en/stable/) has decent support for arbitrary Python C extensions. Libtcod is already known to work in Emscripten, so I only need to setup a proper build...
updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.10)