MENU

Fun & Interesting

Why you should start using Scene Constructors in Godot

Queble 15,617 lượt xem 2 weeks ago
Video Not Working? Fix It Now

Godot offers a ton of useful methods for handling game objects, but doesn't yet have a super direct approach to constructing scene instances.
This video aims to provide you with my personal favorite method for creating a "scene constructor" (similar to the _init() function for Resources), which will make your project more modular!

If you enjoyed the video, leave a like and subscribe!
Thanks for watching, and I hope you have a great week! :)

https://discord.gg/kgWXhZjd69
https://www.twitch.tv/queble_game_dev
https://www.patreon.com/QuebleGames

Book a 1 on 1 Godot tutoring session:
https://www.fiverr.com/s/o8Wq7AG

Download Godot here:
https://godotengine.org/

Official Godot blog:
https://godotengine.org/blog/

Timestamps:
0:00 Intro / what is a constructor method?
0:30 Common setup problems (not recomended)
1:47 How to make a Scene Constructor function
3:45 How to use this constructor function
4:53 Final notes + alternative ideas
6:20 Member shoutouts and outro! Thanks for watching :)

Join this channel to get access to perks:
https://www.youtube.com/channel/UCjjFS6h7Dc7gCaq6_PX8jUg/join

This video was recorded in Godot v.4.4 beta 3.

Comment