Skip to reading
First Light, Part 6: The Final Hour

Reach the save slots with a controller

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
FIRST LIGHT • PART 6                                                                            0.86.4.1  /  HOTFIX 1

EDITION UPDATE

Use write_slot and read_slot from page 3. The slot widgets already have their save or load jobs. This change lets the player reach them reliably from a controller.

A Save Game Widget has one outer focus target and a second interaction level for its slots. Your existing First Light artwork can stay in place.

01. Set the first focus target on each screen

In GUI Designer select write_slot. Open Layout, enable navigation, choose modal and set Initial focus to write_slot_rows. Repeat for read_slot and read_slot_rows. You can enable navigation on a fixed-size GUI.

02. Give the player a route back

In General Edit layout and navigation set Tab order on the widget and the existing menu controls. Leave the slot actions and the system assignments from page 3 in place. First try the route with a keyboard, then a gamepad.

03. Walk the full save/load route

Open Save in First Light. Press Accept on the widget to enter its slots and save to an unused one using the original widget’s confirmation policy. Return to play, open Load and restore that slot. Press Back while browsing slots to verify focus returns to the outer widget.

TITLE-SCREEN CHECK

You can enable modal navigation on title_card independently. Choose one of its existing buttons for Initial focus and test the title, credits and return route.

First Light • Part 6 / 17

Page 17 of 17Permalink
Go to page

Continue your 3D adventure

  1. Part 1First Light, Part 1: Your First 3D Adventure
  2. Part 2First Light, Part 2: Three Knocks
  3. Part 3First Light, Part 3: Behind the Wall
  4. Part 4First Light, Part 4: The Message in the Machine
  5. Part 5First Light, Part 5: The Clockmaker’s Secret
  6. Part 6First Light, Part 6: The Final Hour