thing - nhmkdev/support-framework GitHub Wiki
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.
var Things = ig.global.data.things;
See Animation Object (State Driven) for details on the ao field.
Things.demo02.redFlagOne =
{
ao:null // state driven animation object
}
Additionally each animation state can support the following:
- a - Action
- d - disables any further collision checks when the given state is set (default: false)