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

2. Generating with Nodes

Christopher Pitt1  
(1)
Durbanville, South Africa
 

In the previous chapter, we talked about why you’d want to generate content rather than craft it. It’s time to get into the code of things.

In this chapter, we’re going to create a fresh project where we can experiment. We’ll follow this up by creating nodes via code and randomizing their behavior.

My version of Godot might differ from yours since I’m writing this a few months before you read it. I’m using an early version of Godot 4, so as long as you’re using Godot 4, we should be good. You can find installation ...

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.