Scale) : Optional (Default) Repeatable
Scale) : Optional (Default) Repeatable
Game States
Canvas
new Canvas()
State
new State()
Device (via
game.device)
DOM
new Cache(game)
new Loader(game)
LoaderParser
new LoaderParser()
Utils
new World(game)
new Stage(game)
InputHandler (via
object.input)
Events (via
objects.events)
Create (via create)
new GameObjectCreator(game)
new Group(game, parent[game world],
name['group], addToStage[false],
enableBody[false], physicsBodyType[0]
new InputHandler(sprite)
new Events(sprite)
new Create(game)
new TweenManager(game)
Tween
Easing
ArrayUtils
new ArrayUtils()
BitmapData
Color
new Color()
Debug (via
game.debug)
LinkedList
new Debug(game)
Utils
new Utils()
RenderTexture
new Easing()
Back, Bounce, Circular, Cubic,
Elastic, Exponential, Linear,
Quadratic, Quartic, Quintic,
Sinusoidal
Required
Optional
[default]
Repeatablen
v2.4.4 Cheat Sheet
Updated: 12/30/2015
Created By: @cjadelstad
new LinkedList()
Time
new Tilemap(game, key, tileWidth[32], tileHeight[32],
width[10], height[10])
new TilemapLayer(game, tilemap, index, width, height)
new Time(game)
Tile
TilemapParser
new TilemapParser()
new Timer(game,
autoDestroy[true])
new TimerEvent(timer, delay,
tick, repeatCount, loop,
callback, callbackContext,
arguments)
Tilemap
TilemapLayer
Tileset
Sound
Tweens
TweenData
ArraySet
new Graphics(game, x[0], y[0])
Tilemaps
new GameObjectFactory(game)
new DOM()
Graphics
Game Objects
GameObjectFactory
(via add)
GameObjectCreator
(via make)
Group
Loader
Graphics
Game Scaling
ScaleManager (via
scale)
FlexGrid (via
scale.grid)
FlexLayer
System
Network
Net (via net)
new Net(game)
SoundManager (via
sound)
Sound
new SoundManager(game)
new Sound(game, key, volume[1], loop[false])
new Math()
AudioSprite
QuadTree
Math
Animation
AnimationManager (via
sprite.animations)
Animation
new AnimationManager(sprite)
Plugins
AnimationParser
FrameData
new FrameData()
Signals
Frame
Signal
new Signal()
SignalBinding
Gamepads
Gamepad (via input.gamepad)
new Gamepad(game)
SinglePad (via
input.gamepad.pad<1,4>)
DeviceButton
new PluginManager(game)
Plugins
Input
Physics
new Input(game)
Physics
Pointer (via
input.pointer)
DeviceButton (via
pointer.leftButton)
Keyboard (via
input.keyboard)
Key
Arcade Physics
Mouse (via
input.mouse)
MSPointer (via
input.mspointer)
Touch (input.touch)
new Arcade(game)
new Body(sprite)
Ninja Physics
new Ninja(game)
new Mouse(game)
new Body(system, sprite, type[1], id[1], radius[16], x[0], y[0], width[0], height[0])
AABB
Circle
Tile
P2 Physics
Sprite
Image
TileSprite
Button
Rope
new Keyboard(game)
Display
SpriteBatch
P2 (via physics.p2)
BodyDebug
Material
new Material(name)
ContactMaterial
CollisionGroup
new CollisionGroup(bitmask)
FixtureList
new FixtureList(list)
Constraints
Distance Constraint new DistanceConstraint(world, bodyA, bodyB, distance, localAnchorA, localAnchorB,
maxForce[Number.MAX_VALUE])
GearConstraint new GearConstraint(world, bodyA, bodyB, angle[0], ratio[1])
Text
Text
BitmapText
RetroFont
Particles
PointProxy
InversePointProxy
Spring
RotationalSpring
new Particles(game)
Emitter
Particle
Required
Optional
[default]
Repeatablen
v2.4.4 Cheat Sheet
Updated: 12/30/2015
Created By: @cjadelstad
Geometry
Circle
Ellipse
Line
Point
Polygon
new Polygon(points)
Rectangle
RoundedRectangle