Skip to reading
Eight Adventure Interface Workshops

Let the engine remember the target

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

Figure 32. Verb Direct can open an authored popup and execute a selected verb on the stored target.

1. Set Project Settings → Interaction Mode to Verb Direct.

2. Set Verb Direct Popup GUI to curse_coin.

3. Enable Hide Verb Direct GUI After Verb Selection.

4. On the room object, enable its hotspot and give it Look, Use and Talk responses as appropriate.

5. Run Play. Click the object, then the coin’s Look Button. Confirm that the engine examines the original object.

6. Repeat with Use. Do not retarget the object by looking at the pointer position over the coin.

Use is the hand-like combined physical action in this recipe. An ordinary takeable object can have Add Inventory and scene-object hiding in its Use result; a door can open from Use; a mechanism can operate from Use.

The first version uses the authored popup position and a second click. It does not yet implement the original hold threshold, near-pointer placement or release-to-select gesture.

Page 68 of 119Permalink
Go to page