compsci_godot_albert/_subsections/sec03/lesson-06.org

23 lines
784 B
Org Mode
Raw Normal View History

2024-11-10 00:37:55 +02:00
#+title: Section 03 - Lesson 06 | Nodes and Inheritance
2024-11-29 06:41:22 +02:00
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../../_share/media/css/godot.css" />
2024-11-10 00:37:55 +02:00
* 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
2024-11-12 03:48:47 +02:00
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