Skip to reading
GUI: Working with Grids

Make the verbs work with a controller

Edition 0.86.4.1 HF1

New illustrated guide for 0.86.4.1 Hotfix 1, covering desktop/phone grid layouts and built-in inventory/save widgets.

Download PDFView illustrations

08 / FOCUS AND TAB ORDER

Focus is the highlight that tells the player which control will respond to Accept. The grid decides where buttons sit. Navigation decides which one receives input next.

Talk can send Left to look and Right to use. These fields are under Keyboard and controller. The anchor fields higher up contain numbers.

01. Choose where the highlight starts

Open the GUI’s Layout dialog, check Enable navigation, choose modal for a menu that takes input, and set Initial focus to look. Apply. Use passive for a HUD that should leave gameplay controls available.

02. Give Tab and arrows a route

Open each button’s layout dialog. Set Tab order in reading order. For Talk, choose look under left, and use under right. Leave directions blank where the nearest eligible button is a better fit after a phone reflow.

03. Check the hotfix in context

Run the menu. Press Right from Look, then Accept on Talk. Its existing click action should run once. If you later use an anchor preset on a widget, Hotfix 1 preserves its Left and Right focus links. For buttons in a grid, keep Position set to managed.

TWO ORDERS YOU CAN TUNE

Child order moves the button on screen. Tab order moves the keyboard highlight. Test both after moving a verb.

Working with grids / 9

Page 9 of 12Permalink
Go to page