June 2018
Beginner to intermediate
298 pages
7h 38m
English
The player scene needs to contain all the same nodes we gave to Character. This is where you'll take advantage of the power of inheritance.
Start by making a new scene. However, instead of making a new empty scene, click on Scene | New Inherited Scene in the menu. In the Open Base Scene window, select res://character/Character.tscn, as shown in the following screenshot:

Rename the root node of this new scene from Character to Player and save the new scene. Note that all the Character nodes are also present. If you make a change to Character.tscn and save it, the changes will also take effect in the Player scene.
Now, you need ...
Read now
Unlock full access