Life Cycle & Reference Counting | Godot GDScript Tutorial | Ep 1.2
Let's look into the basics of Life Cycles and Reference Counting in Godot GDScript!
🐳 PLEASE TAKE A LOOK AT THE PINNED COMMENT. This episode was made under wrong assumptions of how I thought the language worked, before I started diving into the Variant class. Going to redo this episode to clarify but I will not delete it nor change it from public, as I'd like to keep a history of where I went wrong at what point in my journey. Still the reference count and Allocation of C is still a useful thing to know, just has no relation to Godot GDScript and how variables are handled.
Godot Tutorials
----------
🌸 Website:
https://godottutorials.com
🐦 Twitter:
https://twitter.com/godottutorials
Resources
----------
🎮 Godot Game Engine Tutorial Series:
https://www.youtube.com/playlist?list=PLJ690cxlZTgIsmdEhFufnB7O6KWoMS8M6
💻 GDScript Fundamental Tutorial Series:
https://www.youtube.com/playlist?list=PLJ690cxlZTgL4i3sjTPRQTyrJ5TTkYJ2_
🐥 Trello Page with other Godot Channels:
https://trello.com/b/TAHIZJ9D/godot-game-tutorials
In this episode, I cover the following topics:
- Variables (Dictionary Definition)
- Basics of Memory Life Cycles (Allocation, Usage, Release)
- Basics of Memory Life Cycle in the C Language (Allocation, Usage)
- Basics of Reference Counting (Allocation, Usage, Release)
No Github companion project is provided for this episode.
This is part of a beginner's programming series called the GDScript Fundamentals Tutorial Series.