play

August 3, 2014 ยท View on GitHub

A lightweight alternative to scripting in gameplay code

theory

Most of the times, gameplay events are intersection of following three systems:

  • triggers (when) (optional)
  • conditions (ifs) (optional)
  • actions (what to do) (mandatory)