FluffyBrudy/tilemap-parser ? reverse-engineered prompt

Reverse engineered prompt

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

I want it to load a map file and let me read layers, objects, autotiles, and tile data in a clean way, then provide a simple renderer for chunked tile drawing so only visible parts are drawn. It should also include a camera that can follow a player, stay inside map bounds, and support smoothing and screen shake.

On top of that, add sprite animation, a basic particle system, and solid collision handling for both tile based movement and object to object collision. The collision side should support common shapes like rectangles, circles, capsules, and polygons, with helpers to resolve hits cleanly. If it makes sense, include a small physics world so moving bodies like crates and characters can interact with the map and each other.

Please make it feel like a practical game dev toolkit, with good examples and enough docs to get started quickly. Look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab