CHAPTER 15

image

Dialogue Trees

A mainstay of classic adventure games, as well as of many other genres, is dialogue between the player and other characters. NPCs, nonplayer characters, help to move the game forward, by dispensing clues, advice, snappy rejoinders, or witty observations. In the days of the text adventure, the player was able to construct sentences at will and try them out in various situations. In today’s graphic games, the most common type of conversation limits the player’s choices, by presenting only a handful of topics at a time. Both methods are based on the concept of a dialogue tree.

At its simplest, the player selects a topic ...

Get Beginning 3D Game Development with Unity 4: All-in-One, Multi-Platform Game Development, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.