A function defined in BBMOD_Resource.gml
from_file_async(_file[, _sha1[, _callback]])
Asynchronnously loads the resource from a file.
||The path to the file.|
||Expected SHA1 of the file. If the actual one does not match with this, then the resource will not be loaded. Use
||The function to execute when the resource is loaded or if an error occurs or. It must take the error as the first argument and the resource as the second argument. If no error occurs, then
Do not forget to call bbmod_async_save_load_update and bbmod_async_image_loaded_update in appropriate events when using asynchronnous loading! You can also use BBMOD_ResourceManager for unified asynchronnous loading of resources.
Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.