Skip to content

System Overview Conversation

SlappedWithSilence edited this page Sep 19, 2021 · 3 revisions

The Conversation System is TXEngine's primary tool for allowing game designers to communicate information to the players. TXEngine supports conditional branching, Event triggering, and more.

The Anatomy of a Conversation

Each TXEngine Conversation is composed of one or more Layers. Each Layer is then composed of one or more Module. A Conversation functions by jumping from one Module in a Layer to another Module in the next layer. This continues until the Player reaches an End Module or a module in the last Layer. When the player reaches a Module, all Events attached to the Module are executed.

Conversation Example Diagram

Conversation Layers

A Conversation Layer is composed of one or more Modules. Each of these Modules has a specific index within the Layer. The player may only ever experience a single module in a layer per conversation. That means that if the player may only move in a single direction through the Conversation and may not double-back.

Conversation Modules

A Conversation Module contains

  • NPC Text
  • One or more response option.

Each response option contains zero or more Events, a next layer target and response text. When the player reaches a module, they are shown a list of potential responses, each displaying their response text. When the user selects a particular response, the response's events are triggered simultaneously. Then, the user is taken to the Module corresponding with the next layer target in the next Layer.

Getting Started

JSON Formatting Guide

Embedded JSON Structures

Designing Your Game

Clone this wiki locally