Skip to reading
Images, Carousels & Choice Controls

Margins, corners and transparency

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Figure 6. Content Fit and the four margins control the foreground picture’s usable area.

Source table from Margins, corners and transparency, page 10
FieldEffect
Left / Top / Right / Bottom MarginInset the foreground independently from each edge. The background remains a separate layer.
Border RadiusCommon corner rounding in Visual Style.
Four corner overrides-1 inherits the common radius; 0 makes that corner square; a positive value sets its curve.
Surface OpacityControls visibility. Check both the image and the background in gameplay.

Start with equal margins, then change one side only when the design needs it. Very large margins can leave almost no room for the image. Corners clip the artwork to the element’s rounded shape; they do not edit the source file.

For an icon over a room, check its source transparency first. Do not rely on a black background becoming transparent automatically. A dark pixel in a normal image is still part of the image.

Page 10 of 52Permalink
Go to page