Godot 4 Resource Preloader

preview_player
Показать описание
Quick tutorial on how to use the resource preloader in Godot 4!

Instantiation Tutorial:

Documentation:
Рекомендации по теме
Комментарии
Автор

This got recommend to me at the right time haha 😅, I was having fps issues with how my game generated the dungeon scenes, but after implementing this it generates faster and with a smaller fps drop. Thanks for the advice!

LeGermanGirl
Автор

Thanks for this! I didn't know it was this simple! I was trying to make my own preloading script when I noticed that resource preloader was already a class so I wanted to try the built-in option instead. Very cool!

iamnotabotiswearuwu
Автор

I just want to say that I've recently found your channel and I love your tutorials!
You are doing an amazing job! Keep it up!

chasepop
Автор

Woahhh, super useful, I could definitely use this in Floopy to reduce the lag when spawning in trees and terrain, thanks for the awesome tutorial

MK_Codes
Автор

I always wandered how to preload stuff, thank you

lounestb
Автор

hii, I'm making a physics based 2d game in godot 4.2 without using box 2d plugin. my game is showing glitches at random distance from origin. I'm not sure what is cause of these physics glitches. Also I use large coordinate system nearly pixels. please tell me how far can I go from the origin without experience physics glitches. it would help me a lot.

skillshot_studio
Автор

hey this one is sick, keep the good work man.

samuraikina
Автор

If the resourcepreloader loads the reference parallel in sub thread. If I make a load call and then in the next line try to instantiate it. How will it make sure that its loaded? Or can it crash?

omegaomega
Автор

Hello friend. In my game I am currently spawning from a list of obstacles and I would love to use this to optimise my game. I currently use randi range to select which object from the list will spawn, so is it possible to use an index value to select an object from the Preloader by using my 'i' variable from randi range?

joellecabbage
Автор

Pls gwizz make a tutorial of nakama in godot 4pls

mohamadmahir