Skip to content
Aldream edited this page Jun 27, 2012 · 2 revisions

Crafty event list

The full list of Events see http://craftyjs.com/api/ Events bin them to the Components

EnterFrame Triggered while the Game is running

NewComponent Triggered after adding a Component to an Entity

RemoveComponent Triggered after removing a Component from an Entity

Change Triggered after changing an attribute of an Entity

Remove Triggered after Removing an Entity

Load Triggered after Initializing Crafty

Pause Triggered if the Game is paused

Unpause Triggered if pause ends

CraftyStop Triggered if Crafty.timer stopps

NewEntity Triggered after new Entity was Created

Moved Triggered after an Entity was moved

Rotate Triggered after an Entity was rotated

reorder Trigered after z-index of entites was changed

Clone this wiki locally