Suivant

Optimize your game with Threads in Godot!

0 Vues· 24/08/25
lopescar
lopescar
Les abonnés
0
Dans

In this video, I'll go over the basics of multi-threading in Godot!
Threads are super helpful for for when you want to offload intensive tasks to other CPU cores. This helps by increasing your game's performance, reducing/eliminating stutters, and also speeding up your loading times!

We'll also go over some commons issues that you may run into when working with threads (race conditions, deadlocks, etc.), and how to avoid them with Mutexes and Semaphores!

Hopefully this video can teach you something you didn't know before!
Also apologies - my voice is a bit more raspy as I had been talking all day and was struggling by the end of this recording 😭
Thanks for watching, and I hope you have a great week! :)

Resources:
• Discord: https://discord.gg/kgWXhZjd69
• Twitch: https://www.twitch.tv/queble_game_dev (game dev streams)
• Godot Download: https://godotengine.org/

Amazing video by Cashew OldDew here: https://www.youtube.com/watch?v=ox5jp_ySFlg
Great video by @bitbirdy that goes more in depth on Semaphores: https://www.youtube.com/watch?v=4XmtZMvyHZE

Official Docs:
https://docs.godotengine.org/e....n/latest/tutorials/p
https://docs.godotengine.org/e....n/latest/tutorials/p

I offer 1 on 1 Godot Tutoring through my website, and also on Fiverr:
https://www.queblegames.com/
https://www.fiverr.com/s/o8Wq7AG

Timestamps:
0:00 Intro / what is a Thread?
0:44 Basics of making a Thread
3:40 What's a Mutex / how to use it!
8:23 Basics of using Semaphores
12:00 ⚠ Important notes / common questions ⚠
14:23 Outro, thanks for watching! :)

This video was recorded in Godot v.4.4.1 stable

Montre plus

 0 commentaires sort   Trier par


Suivant