Skip to content
Eloy Villasclaras edited this page Apr 18, 2016 · 7 revisions
  • <game>: A Phaser.Game object
  • <state>: A Phaser.State object
  • <input>: Configures the game input
    • <key>: Configures key-specific game input
  • <sprite>: A Phaser.Sprite object
  • <graphics>: A Phaser.Graphics object
    • <rect>: Renders a rectangle to a React.Graphics object
    • <roundedrect>: Renders a rectangle with rounded corners to a React.Graphics object
    • <line>: Renders a line to a React.Graphics object
    • <arc>: Renders an arc to a React.Graphics object
    • <circle>: Renders a circle to a React.Graphics object
    • <ellipse>: Renders an ellipse to a React.Graphics object
    • <shape>: Renders a shape to a React.Graphics object
  • <assets>: Loads assets in a Phaser.Game preload method
    • <rendertexture>: Renders a texture and loads it to the asset cache
    • <renderimage>: Renders an image or spritesheet and loads it to the asset cache
Clone this wiki locally