I'd like to create a large 2D dungeon map with a top-down view, where the tiles are procedurally drawn and positioned.
Nothing too complex: the tiles are simple polygons with solid colors and a darker border.
The AI (Chatgpt, Gemini, etc.) suggests me to use the TileMap node or the newer TileMapLayer.
This seems like the best choice for performance reasons and because it makes integrating pathfinding, physics, etc., easier.
However, I can't figure out how to do it procedurally.
TileMapLayer seems designed for manually placing tiles via the Godot editor, not for procedural generation.
Am I missing something? Any advice would be appreciated!
Note: I'm a beginner, I apologize if the question may seem stupid.