Description
Dynamic Image URL Loader
This extension allows you to dynamically change the texture of any Sprite object during gameplay. It's perfect for displaying real-time advertisements, player avatars, or dynamic content fetched from the internet.
Key Features:
Automatic Fitting: No matter the source image's resolution (HD, 4K, etc.), it automatically scales to fit your Sprite's pre-defined size in the editor.
Variable Support: Directly use GlobalVariableString(MyURL) or scene variables without complex expressions.
Optimized Performance: Uses PixiJS texture caching to ensure smooth transitions and low memory usage.
Error Handling: Includes built-in console logging for broken links or loading errors.
How to use:
Simply use the "Load URL into Sprite" action, select your target Sprite, and provide a direct image link (e.g., "https://site.com/image.png") or a variable name.
How to use the extension
How to Use
This extension allows you to load external images from any URL or String variable directly onto a Sprite object while maintaining the sprite's original dimensions.
Basic Usage (One-time Load)
Add the "Load URL into Sprite" action to your event sheet.
Object: Select the Sprite you want to change (e.g., a billboard or profile picture).
URL: Enter the direct image link in quotes (e.g., "https://example.com/image.png").
Smooth: Set to true for high-quality scaling or false for pixel-art style.
Advanced Usage (Interactive/Real-time)
You can use this extension to create dynamic systems like ad-boards or avatar editors:
Input: Use a Text Input object to let the user (or your system) type a URL.
Trigger: When a button is clicked or a variable changes, call the "Load URL into Sprite" action.
Dynamic Source: Instead of a hardcoded link, use a variable: GlobalVariableString(MyUrlVariable).
Save & Persistence: To keep the image across sessions, save the URL variable to Storage and call the loading action at the "Beginning of the scene."
Key Technical Note
Auto-Resizing: The extension automatically detects the current width and height of your Sprite in the scene and forces the new image to fit those exact dimensions.
Supported Formats: Works with standard web formats like .png, .jpg, and .webp
Checklist
Example file
Dynamic Banner.zip
Extension file
DynamicBannerUpdatev1.zip
Description
Dynamic Image URL Loader
This extension allows you to dynamically change the texture of any Sprite object during gameplay. It's perfect for displaying real-time advertisements, player avatars, or dynamic content fetched from the internet.
Key Features:
How to use:
Simply use the "Load URL into Sprite" action, select your target Sprite, and provide a direct image link (e.g., "https://site.com/image.png") or a variable name.
How to use the extension
How to Use
This extension allows you to load external images from any URL or String variable directly onto a Sprite object while maintaining the sprite's original dimensions.
Basic Usage (One-time Load)
Advanced Usage (Interactive/Real-time)
You can use this extension to create dynamic systems like ad-boards or avatar editors:
Key Technical Note
Checklist
Example file
Dynamic Banner.zip
Extension file
DynamicBannerUpdatev1.zip