Skip to reading
Text & Sierra-Style Adventures

6. Camera, navigation and the player

Edition 0.86.3.4

Build a complete text or graphical parser adventure with typed commands, inventory puzzles and press-to-walk controls.

Download PDFView PDF page

Choose a fixed room view while learning. A moving camera can make a working parser game harder to test because the player may lose sight of the object they just named.

Source table from 6. Camera, navigation and the player, page 9
SettingExample value
Room camera ID / namewide / Room view
ProjectionOrthographic
PositionX 0, Y 9, Z 13
Look-at targetX 0, Y 0, Z -0.9
Orthographic size11.5
Default cameraRoom view (wide)
Walkable floor height0
Navigation boundsX -5.3 to 5.3; Z -3.7 to 3.2
Player entryX 0, Y 0, Z 2

Set the room’s default camera explicitly. Create an entry spawn named entry in each room. NORTH and SOUTH will use these spawns, so the player arrives at a predictable position instead of retaining coordinates from the previous room.

Create Morgan as a non-player character with ID morgan and place an instance in the yard. Add operator and station operator as synonyms. The player must be a separate playable character. Then use a placeholder actor first. If you use an imported model, assign its idle and walk states in the Character Designer. Check the model’s scale, facing and walk animation with ordinary movement before introducing typed commands.

A visible floor and a walkable navigation area are separate things. Extending the artwork does not extend navigation. Check the room’s navigation bounds and obstacles if the character stops at an invisible edge. Typed room changes also need authored rules; walking to the top of a room does not automatically mean NORTH.

Page 9 of 68Permalink
Go to page