CAAT.DEBUG
Set this varible to show a control panel showing some debug info, like FPS, currently animated actors, bounding boxes, etc.
CAAT.TOUCH_BEHAVIOR
By default this variable defaults to CAAT.TOUCH_AS_MOUSE, which means, only one touch event will be handled, and will behave as a mouse.
It can also be set to CAAT.TOUCH_AS_MULTITOUCH, which will handle multitouch events.
CAAT.PMR
Default value for "points by meter" ratio. This value is needed for CAAT to Box2D binding.
CAAT.DEBUG_DIRTYRECTS
Show affected dirty rectangles.
CAAT.DRAG_THRESHOLD_X, CAAT.DRAG_THRESHOLD_Y
These values are a threshold that mouse drag events (or touch if CAAT.TOUCH_BEHAVIOR==CAAt.TOUCH_AS_MOUSE) must traverse previously to have mouseDrag events triggered. These are needed when pointing with another device than a mouse, like a Wacom tablet. Since these devices don't report the same coordinate when pointing than when releasing, those values come handy.
CAAT.SET_INTERVAL
Prevent using RAF for loop control in favor of setInterval function. Weird ? I've been reported that with online games, when in another tab, the game will suspend. So I was asked for this possibility. So there it is.
CAAT.currentDirector
Readonly value which holds the reference of the currently rendering Director.
CAAT.getCurrentScene()
Get current Director's current Scene.
CAAT.RETINA_DISPLAY_ENABLED
If not false, CAAT will honor retina display and HIDPI screens behind the scenes. This will set up a bigger as needed canvas object and set up appropriate scale operations for drawing purposes.