© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
C. PittProcedural Generation in Godothttps://doi.org/10.1007/978-1-4842-8795-8_9

9. Collective Nodes in Generated Maps

Christopher Pitt1  
(1)
Durbanville, South Africa
 

I don’t know if you’ve noticed, but all our pixel-art-to-level code converts individual pixel into individual tiles or nodes. We’ve yet to take clusters of the same color pixels and convert them into a single complex node.

That's what we're going to tackle in this chapter. It's a trick that is going to come in handy for the next game we make. I want to take a quick detour to talk about the different approaches and skills we’ll need to be able to do this.

Refreshing Our Memory

Do you remember the ...

Get Procedural Generation in Godot: Learn to Generate Enjoyable Content for Your Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.