load(_path[, _sha1[, _onLoad]])
Asynchronnously loads a resource from a file or retrieves a reference to it, if it is already loaded.
||The path to the resource.|
||Expected SHA1 of the file. If the actual one does not match with this, then the resource will not be loaded. Use
||A function to execute when the resource is loaded or if an error occurs while loading it. It must take the error as the first argument and the resource as the second argument. If no error occurs, then
Struct.BBMOD_Resource The resource or
Currently supported files formats are
*.bbmod for BBMOD_Model,
*.bbanim for BBMOD_Animation,
*.bbmat for BBMOD_Material and
*.jpg/jpeg for BBMOD_Sprite.
Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.