60. Prepare artwork for a screen frame
Create the frame at the intended aspect ratio, with transparency in the part of the view where the game should show through. PNG is a convenient choice. Do not paint the center black unless you want to cover the game with black.
1. Draw the visible edges and decorative details on a transparent canvas.
2. Keep the center clear and avoid covering the usual subtitle or inventory area.
3. Export a transparent image and import it through Asset Designer as an Image asset.
4. Preview the image over contrasting backgrounds if possible. Dark detail can disappear into a dark room.
5. Assign it as an overlay and test the real game view, including the narrowest output aspect ratio you plan to support.
| Static frame | Camera-scrolling foreground |
|---|---|
| Match the design aspect ratio. With parallax off, the image is stretched to the overlay area. | Provide extra image dimensions beyond the overlay design view. Parallax needs spare pixels to crop and move. |
| Place critical decoration inside a safe margin. | Make the corners and edges look acceptable throughout the camera route. |
| The artwork itself can be a complete border. | A complete border may be partly outside the view while the image pans. That can be intentional. |
The sample Clockwork Foreground is 1672 by 941 pixels. In a 1280-by-720 overlay design area it has spare width and height for travel. A 1280-by-720 image has no spare travel at that same design size.
