Game Architecture

The Problem

Communication & State

// characterA needs to know about characterB!
this.give(characterB, something);

Hierarchical Components

The Solution

Flux: Uni-directional dataflow

Stores
Dispatcher
Components

ACTION:HIT_KNIGHT:15
...
...
...

Game Architecture

By jimfleming

Game Architecture

  • 250