59. Screen overlays are decorative image layers
Figure 34. The transparent Clockwork Foreground sits over the world image while the gameplay HUD remains above it.
A Screen Overlay is a single image over the game view. Use it for a decorative frame, a mask, dirt on a lens or other non-interactive artwork that belongs to the view rather than to one object in the room.
| Overlay behavior | Practical consequence |
|---|---|
| Draws above the world | Its opaque pixels can cover scenery. Leave useful transparent areas. |
| Draws below gameplay GUIs | The HUD, dialogue and authored interface remain available above it. |
| Ignores mouse input | It is not a clickable hotspot or button. |
| Uses an image asset | Use the Video GUI element or FMV tools for a movie instead of assuming an overlay image selector plays video. |
| Can use its own shader source | The frame can remain clean, share room shaders or have its own treatment. |
Use a GUI when you need several independently controlled overlay images, buttons, text or animation. The Screen Overlay setting is a simpler decorative layer.
