Skip to reading
Mobile Game Setup & Testing

Keep buttons clear of the phone edges

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
MOBILE SETUP AND TESTING                                                                        0.86.4.1  /  HOTFIX 1

EDITION UPDATE

Start with the narrowest menu the player needs to operate. A desktop preview is useful for spacing. A real phone also has a notch, system bars and a keyboard.

Preview safe inset, font scale and longer translations let you check likely trouble spots before installing a build.

01. Choose a safe area

Open the GUI’s Layout, enable responsive layout, and choose Safe areas all to keep the whole layout inside the safe rectangle. Choose interactive when root artwork should reach the edge. Keep related buttons inside a safe root container.

02. Compare portrait and landscape

Choose Phone portrait and Phone landscape on the GUI toolbar. Turn on Guides. In Preview settings, give the simulated safe inset a visible value, such as 24. If text is crowded, use a compact profile or fewer grid columns.

03. Check a device

On the target phone, open the same menu, rotate it, focus the lowest text field and open the software keyboard. Check that the current field and the way back remain reachable. Close the keyboard and verify the screen returns to its normal layout.

WHICH NUMBER SHIPS?

Preview safe inset changes the Designer view. Fallback inset is a GUI layout setting in logical pixels. The mobile Runner also reads the platform safe area and keyboard height.

Mobile setup and testing / 21

Page 21 of 22Permalink
Go to page