April 2021
Beginner to intermediate
506 pages
11h 57m
English
When you add nodes to the scene, you’re building a node tree, which you briefly read about in Chapter 1, Creating Scenes with Sprites and Nodes. The order in which you add a node to the scene determines how it’s rendered. In this case, you added the background node last, which places it on top of the other nodes.
Here’s how it works:
You could build your scenes with this process in mind, but that can get complicated as you add and remove nodes. Luckily, you’re able to change how things render by using a node’s z-position. You can think of the z-position ...
Read now
Unlock full access