Make the doorway work
TUTORIAL 01 • THE DOOR
The yellow door is paint. Give it an invisible rectangle, called a region, so the game knows when someone clicks it.
1 Open Lobby. From Scene Designer’s Add to Scene menu choose Region in the main list. Select the new entry under Scene Objects Regions. Check that the Inspector heading begins with Region.
2 In General, set Name to Back door. Enter Minimum X 6.6, Maximum X 8.6, Minimum Z −3.6, Maximum Z 1.6. Leave the height fields at their defaults.
These are the edges of the door on the stage. Keep the minus sign on Minimum Z.
3 Open Region Events. Find Left Click — Step 1. Choose Change Scene for the action. Set Destination Scene to Machine Room.
4 Leave Spawn (optional) on (None). In XYZ when no spawn, type [-4,0,4], including the brackets. This puts Bea on the left-hand side of the new floor. Click Apply Changes and save.
Check your screen Start the game and click the yellow door. You should see the sun and moon with Bea standing underneath. Stop the game. The handles are still pictures until the next step.
PCA 3D Adventure Studio / 10
