Fluffybrudy/tilemap-parser ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python library for working with JSON tilemaps from a custom tilemap editor.

I want it to be able to load a map, read layers, objects, autotile data, and give me easy ways to query the map in game code. It should also include a renderer for chunked tile drawing, a camera that can follow a player with smoothing and screen shake, a simple sprite animation player, and a particle system with color fading, gravity, and batch rendering.

The big thing I need is collision support. Please make tile based collision for topdown, platformer, and RPG style movement, plus object to object collision for shapes like rectangles, circles, capsules, and polygons. I also want a physics world where solid bodies can move around and interact with the tilemap and with each other.

Keep it clean and easy to use from Python, with a few working examples and tests. If anything is unclear, look up the current docs online and match the behavior there.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab