Description
Changelog
Reviews
FEATURES
You can load Resources from code without blocking the Main Thread, using Threads, this means NO STUTTERS and FASTER LOADING. Why faster loading? Because it uses not one core as with the other options, but as many as Godot allows, so you get use of that multi-core CPU.
HOW TO USE
Download the .gd GDScript file, and put it in your project. Add the Script as Auto-Load or on a Node. Call the threadload function, that has two parameters:
- path - type String, specifies what to load (same argument as the in-built function load())
- result - type Callable, this function will be called after loading is finished, with two arguments: (path: String, res: Resource)
NOTES
This is a replacement for the ResourceLoader loading system that already does this, but I made this because I think this is easier to use.
Changelog for version v1.0.1
No changelog provided for this version.