24 lines
892 B
Org Mode
24 lines
892 B
Org Mode
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../../../../../_share/media/css/org-mode.css" />
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../../_share/media/css/godot.css" />
|
|
|
|
#+title: Section 03 - Lesson 06 | Nodes and Inheritance
|
|
|
|
* Links
|
|
- [[../../toc.org][TOC - Godot Notes]]
|
|
- [[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
|
|
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
|