finished lesson 6
This commit is contained in:
parent
89033ade20
commit
a16d1bf0c6
1 changed files with 14 additions and 0 deletions
|
|
@ -8,3 +8,17 @@
|
||||||
- [[https://www.udemy.com/course/jumpstart-to-2d-game-development-godot-4-for-beginners/learn/lecture/45070465#overview][S03:L14.06 - Nodes and Inheritance]]
|
- [[https://www.udemy.com/course/jumpstart-to-2d-game-development-godot-4-for-beginners/learn/lecture/45070465#overview][S03:L14.06 - Nodes and Inheritance]]
|
||||||
|
|
||||||
* Notes
|
* Notes
|
||||||
|
Godot is built around inheritance
|
||||||
|
|
||||||
|
The Godot Inspector shows the inheritance path and the properties at each level
|
||||||
|
|
||||||
|
For example, Node2D has the Transform property, this will show up in every class that inherits from Node2D
|
||||||
|
|
||||||
|
** documentation
|
||||||
|
- go to Script, then click on Search Help
|
||||||
|
- from here you can check out any class
|
||||||
|
|
||||||
|
Node 2D has the position property.
|
||||||
|
|
||||||
|
** types vs classes
|
||||||
|
- a type is an instance of a class
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue