Skip to content
nhmkdev edited this page Jan 6, 2014 · 5 revisions

Definition

A Thing entity is one that can:

  • Trigger an action on player collide
  • Change visual state based on Save state

The Thing entity is extended for items such as door which opens and closes based on save state.

Container

Thing Data

var Things = ig.global.data.things;

Data Format

See Animation Object (State Driven) for details on the ao field.

Format

Things.demo02.redFlagOne =
{
    ao:null // state driven animation object
}

Animation State object Extensions

Additionally each animation state can support the following:

  • a - Action
  • d - disables any further collision checks when the given state is set (default: false)
Clone this wiki locally