Display an External Image at Runtime in Scene Composer

Hello,
I am trying to display a custom image for a locker in my Scene Composer project. I am not sure how to configure this. Is there a way to load and display an external image at runtime?

Hi,

You can display external images in Scene Composer using the External Bitmap Provider behavior. This allows you to load images from outside your solution without embedding them in the asset binary.

This is particularly useful if you want to load images dynamically at runtime or update and replace images without having to modify the embedded assets. Just make sure the external resources are available at runtime.

Here’s how to set it up:

Displaying an external image

  1. Open your scene and drag a Bitmap Node from Node 2D in the Toolbox into the Scene Editor or Scene Tree.

  2. In the Toolbox, navigate to Behavior > External Resource > Value Processing > External Bitmap Provider.

  3. Drag and drop the behavior onto the Behavior section of the Bitmap Node in the Extra Scene Tree.

  4. Select the External Bitmap Provider and locate the ExternalResourceId property in the Properties panel.

  5. Enter the resource ID directly, or click the select-item button to choose the external image file.

  6. Save your solution and launch Player to verify that the image is displayed.

I hope this helps!

PS:

You can find more information in our official online documentation under the following links:

https://doc316en.candera.eu/books/controls-and-behaviors/page/external-image-behaviour

https://doc316en.candera.eu/books/controls-and-behaviors/page/external-resource

Hello,
Thank you for the helpful feedback. It gave me a clearer understanding of how to import external resources.