How do I Make A Changing BackGround

Get help using Construct 2

Post » Fri Mar 21, 2014 9:13 pm

How do I Make A Changing BackGround Were if i click a little blue button the back ground changes to blue
[img]imageshack.com/a/img19/5018/sqio.png[/img]
Banned User
B
5
S
1
G
1
Posts: 88
Reputation: 723

Post » Fri Mar 21, 2014 9:42 pm

Setting the layer color
Code: Select all
Button -> On clicked ----> Set layer background color

Set the background color of a layout. Note if the layer is transparent, setting the background won't change the appearance unless you also make the layer opaque.


Setting a tiled background image
Code: Select all
Button -> On clicked ----> Load image from URL

Load an image from a given URL. It is not shown until the image has finished downloading, and On image URL loaded triggers. Images loaded from different domains are subject to the same cross-domain restrictions as AJAX requests - for more information see the section on cross-domain in the AJAX object. Data URIs can also be passed as an image, e.g. from a canvas snapshot or webcam image.


https://www.scirra.com/manual/111/button
https://www.scirra.com/manual/125/system-actions
https://www.scirra.com/manual/118/tiled-background
B
6
S
2
G
2
Posts: 16
Reputation: 1,153


Return to How do I....?

Who is online

Users browsing this forum: Cubeeo and 7 guests