A function defined in __bbmod_async.gml
bbmod_async_image_loaded_update(_asyncLoad)
This function must be called in the "Async - Image Loaded" event if you use bbmod_sprite_add_async to asynchronnously load a sprite!
Name | Type | Description |
---|---|---|
_asyncLoad | Id.DsMap |
The async_load map. |
/// @desc Create event
bbmod_sprite_add_async("sprite.png", function (_err, _sprite) {
if (!_err)
{
sprite_index = _sprite;
}
});
/// @desc Async - Image Loaded event
bbmod_async_image_loaded_update(async_load);
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.