Load images from a URL
Adds multiple actions to load images from a URL into the game.
Authors and contributors to this community extension: arthuro555.
This is an extension made by a community member — but not reviewed by the GDevelop extension team. As such, we can't guarantee it meets all the quality standards of official extensions. In case of doubt, contact the author to know more about what the extension does or inspect its content before using it.
With this extension, you can load images from any URL (including a DataURL) into a sprite or image resource. Loading it into a sprite will load the URL into a sprite, replacing the image it displays until the sprite's displayed image is changed, e.g. by going to the next frame of an animation or switching animations. Loading it into a resource will discard the old image that a resource was using and replace it with the image loaded from a URL. Any sprite that is displaying this resource as a part of their animation will start showing the new image instead of the old one. The old image of the resource will not be accessible anymore unless you restart the game or reload the original image from a URL into it.
Learn how to install new extensions by following a step-by-step guide.
Load URL into an image resource
Replaces the image contained by a resource by a new one, from a URL. This will update all sprites displaying the resource.
Load URL into a sprite
Replaces the image contained by a sprite by a new one, from a URL. This will only affect the sprite in question and only until the image in it is changed through its animation or another action, unless you also modify the resource.
This page is an auto-generated reference page about the Load images from a URL extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.