Hi Ashley, is it possible to have an interface of imageWidth
and imageHeight
for the Tiled Background object?
I think it is a necessary feature.
For example, making progress bars with Tiled Background families:
for (const background of runtime.objects.Backgrounds.instances())
{
const b = background.instVars;
background.width = (background.imageWidth * background.imageScaleX) * b["Scale"];
}
This will allow us to reuse the same scaling code for all Tiled Background instances belonging to a group or family.
Thank you.