compsci_godot_albert/_subsections/sec03/lesson-06.org
2024-11-29 06:41:22 +02:00

22 lines
784 B
Org Mode

#+title: Section 03 - Lesson 06 | Nodes and Inheritance
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../../_share/media/css/godot.css" />
* 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