Hasta la próxima

Master THREADS in Godot 4.3

0 vistas· 23/11/24
Andreas Straus
Andreas Straus
Suscriptores
0

In this video I am showcasing the utility of multi threading in Godot 4.3. Threads are extremely useful for when we want to pass methods which are expensive computationally to different other cores of your processor. This leads to having a much smoother experience, helping reduce frame drops and speed up loading times.

On top of that, this video also tackles issues that might occur when working with threads like: race conditions, deadlocks and thread synchronization through rendezvous and barriers applied on both mutexes and semaphores.

Resources:
Using multiple threads in Godot - https://docs.godotengine.org/e....n/stable/tutorials/p
Loading a texture with a separate thread - https://github.com/godotengine..../godot-demo-projects

Assets:
Kenney's UI Sci-fi pack - https://kenney.nl/assets/ui-pack-sci-fi
Squirrel Image - https://pixabay.com/photos/ani....mal-squirrel-sciurus

--------------------
Github repository for this project.
https://github.com/cashew-oldd....ew/godot-tutorials/t

Support me on Ko-Fi: https://ko-fi.com/cashewolddew
--------------------

Chapters:
0:00 Making a game faster with threads
5:37 Loading assets faster with threads
10:10 Race Conditions
17:18 Mutexes
23:39 Semaphores
28:27 Deadlocks
32:00 Mutex Rendezvous Synchronization
36:42 Semaphore Barrier Synchronization
40:41 Thanks to sponsors

#gamedev #godot #threads

Mostrar más

 0 Comentarios sort   Ordenar por


Hasta la próxima