Chunk-based tilemap generating. (closed)

How could I make a procedural chunk-based generator for a top-down tilemap? Like, my idea is that I have a bunch of preset chunks and it’ll place them based on the openings/walls of the ones around it? If you understand, any idea? New to tilemap generation. I thought about taking the easy route of making all the chunks have the same free areas on the top/bottom and left/right; that way, no need to worry about entrances being blocked.

Edit: I have a solution for myself, never mind

What was the solution I’m curious

Mine was to get a bunch of 12x12 colour squares from an image and get an algorithm to copy a random chunk tile-by-tile onto the square, then apply filters, stuff like that

Not very thought out on how to explain, but I know basically what I’d do

1 Like