Skip to reading
Visual Scripting in Depth

2. Set up a small working room

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView illustrations

Figure 3. The workshop used throughout the guide. Simple objects make the results of the logic easy to see.

Use a new project or a copy of a working game. You can follow the lessons with primitives, the bundled character models or your own artwork. The logic is the important part; a plain box can stand in for a door.

Source table from 2. Set up a small working room, page 6
RecordExample ID / purpose
Roomlab: a floor, navigation, a player and a working default camera.
Player / NPCada is the live player; player is its runtime alias. elias is the NPC.
Scene keybrass_key: the object that can be picked up.
Inventory definitionbrass_key_item: the item carried after the pickup.
Doorworkshop_door: a blocking scene object.
Beacon / switchesshader_orb, blue_switch and red_switch.
GUIscene_hud, with a label hud_text and button pulse_button.

If your room uses different IDs, substitute them throughout. Keep the scene key and inventory item distinct. Picking up an object does not automatically create an inventory definition.

No practice project is needed. These are instructions for building the examples in a project of your own. Save a copy before changing an existing game.

Page 6 of 93Permalink
Go to page