E
Edwin
Guest
Hello.
I'm trying to get the image from my avatar using Image Loaded async event.
Code:
Nothing.
Can anyone explain me how it works?
I'm trying to get the image from my avatar using Image Loaded async event.
Code:
Code:
/// Image Loaded:
avatar_sprite = sprite_add("https://forum.yoyogames.com/data/avatars/l/31/31538.jpg?1547144011", 1, false, false, 0, 0);
if (ds_map_find_value(async_load, "id") == avatar_sprite) {
if (ds_map_find_value(async_load, "status") >= 0) {
sprite_index = avatar_sprite;
}
}
Can anyone explain me how it works?