Skip to Content
Practical Game Design
book

Practical Game Design

by Adam Kramarzewski, Ennio De Nucci
April 2018
Beginner content levelBeginner
476 pages
14h 4m
English
Packt Publishing
Content preview from Practical Game Design

World state

The idea of a world state comes straight from the notion of the State Machine.

A State Machine is a mathematical model of computation. It is an abstract machine that can be in exactly one of a finite number of states at any given time.

Imagine that the State Machine is your world (or story) and each state is a moving part of the narrative.

In a traditional branching narrative, structured in a Tree, for example, a decision opens up a new branch of the three, which now requires moving on in a different direction from the other branches. In a narrative with states, a variable is generated to track the decision, and this variable will only affect the nodes in which it is referenced.

Imagine a story where a character might either die ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Game Design - Second Edition

Practical Game Design - Second Edition

Adam Kramarzewski, Ennio De Nucci
Game Design Essentials

Game Design Essentials

Briar Lee Mitchell
Designing Games

Designing Games

Tynan Sylvester

Publisher Resources

ISBN: 9781787121799Other