© 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_3

3. Generating with Tiles

Christopher Pitt1  
(1)
Durbanville, South Africa
 

In the previous chapter, we created and manipulated nodes using scripts. It’s one of two popular ways to manipulate the visuals of a game. In this chapter, we’re going to look at the other, which is creating and manipulating tiles via scripts.

We need to start in the visual editor, where we’ll learn how to set up tiles and terrains. These are useful for hand-crafted content, and mastering them will save a ton of time and code.

Creating Tile Sets

Tile maps are visual areas made out of little squares or tiles. ...

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.