Size the controls for a thumb
PHONE AND TABLET DESIGN
Choose one intended orientation for the first release. A wide adventure room often works in landscape, while a dialogue-heavy design may fit portrait. Decide where the controls go when the shape changes. A tablet has more room in the middle, but its center can be harder to reach while holding both sides.
| Layout decision | How to check it |
|---|---|
| Game canvas | Set the starting resolution in the PCA Project settings. The inspected source uses canvas_items with keep aspect. A 16:9 game may show unused bands on a wider phone or a squarer tablet. Check taps at the edges of the actual game image. |
| Touch target | Android recommends at least 48 × 48 dp. Apple’s usual minimum is 44 × 44 pt. These are device-independent sizes. A 44-pixel texture on your game canvas can be physically much smaller after scaling. Enlarge the clickable control around the artwork. |
| Safe area | Keep Back, Inventory, skip, dialogue choices and both pads clear of cutouts, rounded corners, status bars and the home indicator. Leave generous margins. In editable Godot source, DisplayServer.get_display_safe_area() can supply the display rectangle; convert it to your GUI coordinate space. |
| Orientation | For a maintained Godot export, set Display Window Handheld Orientation in Project Settings. Check the supported orientations in the Apple export/Xcode target. Rotate at launch, during dialogue and with the keyboard open if rotation is supported. |
What the empty bands mean#
For a 1280 × 720 game on a 1024 × 768 tablet area, keeping 16:9 fits the game into 1024 × 576. That leaves 96 pixels above and below when centered. A custom touch picker using the full 768-pixel height would select progressively wrong positions. Use the game viewport’s coordinate conversion and repeat taps near all four corners.
Test one narrow phone and one 4:3-style tablet in the same scene. Use the longest item name and dialogue line you ship. Check with the largest font scale you support. Let backgrounds reach the edges while essential controls stay reachable.
