Declutter Your Godot 4 Project: Singletons/Autoloads All Over The Place...

Channel:
Subscribers:
292,000
Published on ● Video Link: https://www.youtube.com/watch?v=jQvcTiVwUgw



Category:
Tutorial
Duration: 3:14
24,291 views
1,501


▶︎ *GODOT 4 COURSES* : https://school.gdquest.com/godot-4-early-access

🎓 *FREE APP "Learn GDScript From Zero"* : https://www.gdquest.com

🎮 *FREE INTERACTIVE GODOT TOUR* - The Godot Editor - https://www.gdquest.com/tutorial/godot/learning-paths/godot-tours-101/

🗨 *DISCORD INVITE* : https://discord.gg/87NNb3Z

------------------------------------------
🖋 *SYNOPSIS*
This video introduces the new GDScript static variables as a better way to store shared data compared to autoloads/singletons which have their use but can quickly pollute your code's global space.

🖈 *GDQUEST DEMO FILES* : https://github.com/gdquest-demos/godot-4-how-tos/tree/main/godot/static_variables

#gamedev #gamengine #gdscript

-------------------------------------------
*CC-BY 4.0 LICENSE*
Terms: https://creativecommons.org/licenses/by/4.0/
Attribute To: "CC-By 4.0 - GDQuest and contributors - https://www.gdquest.com/"







Tags:
tutorial
game engine
GDScript
Godot
games
beginner
Godot 4
beginner tutorial
code
animation
static variables
singletons
autoload