Trying to place more than one picture as a background for button

Hi guys,
I created a Start button and placed it into the horizontal arrangement, so I could align the button to the center of the screen. Also, I would like to place behind the button a full-screen background composed of a few pictures, that would change after a few seconds. But I don’t know how to add more than just one picture. I was thinking, maybe I could solve the problem by placing the canvas on the screen and add pictures and start button as image sprites. But whenever I try to add a picture as image sprite, it never fills the screen. Sure, I could set the height and weight of sprites manually, but on a different device, with a different resolution, it simply looks bad.

Can you please help me?

You would need to use a timer to change the background image every x# seconds.

Something like this maybe?
blocks(6)

Only change the background image not the text.
Mike.

1 Like

Here an example:

backgrounds.aia (2.3 KB)

I have used background Color instead of image, but you should get the idea.

To replace with images use the background Image block for the horizontal arrangement, upload some suitable images (sizes only have to match most devices e.g. 600.400 pixels will do for most cases) to your media folder and then add them to a list.

1 Like

m_casky and TIMAI2,

it's working! Thank you very much!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.