Create#palettes

palettes :array A range of 16 color palettes for use with sprite generation. Source code: core/Create.js (Line 43)

Create#grid()

grid(key, width, height, cellWidth, cellHeight, color) → {PIXI.Texture} Creates a grid texture based on the given dimensions. Parameters Name Type Description key string The key used to store this texture in the Phaser Cache. width integer The width of the grid in pixels. height integer The height of the grid in pixels. cellWidth integer The width of the grid cells in pixels. cellHeight integer The height of the grid cells in pixels. color string The color to draw the grid lines

Create#game

game : Phaser.Game A reference to the currently running Game. Source code: core/Create.js (Line 23)

Create#ctx

ctx Properties: Name Type Description context CanvasRenderingContext2D The 2d context of the canvas. Source code: core/Create.js (Line 38)

Create#Create

new Create(game) The Phaser.Create class is a collection of smaller helper methods that allow you to generate game contentquickly and easily, without the need for any external files. You can create textures for sprites and incoming releases we'll add dynamic sound effect generation support as well (like sfxr). Access this via Game.create (this.game.create from within a State object) Parameters Name Type Description game Phaser.Game Game reference to the currently running game. Source cod

Create#canvas

canvas :HTMLCanvasElement The canvas the BitmapData uses. Source code: core/Create.js (Line 33)

Create#bmd

bmd : Phaser.BitmapData The internal BitmapData Create uses to generate textures from. Source code: core/Create.js (Line 28)

Component.Smoothed#Smoothed

new Smoothed() The Smoothed component allows a Game Object to control anti-aliasing of an image based texture. Source code: gameobjects/components/Smoothed.js (Line 12)

Component.ScaleMinMax#transformCallbackContext

transformCallbackContext : Object The context under which transformCallback is called. Source code: gameobjects/components/ScaleMinMax.js (Line 26)

Component.ScaleMinMax#transformCallback

transformCallback : Function The callback that will apply any scale limiting to the worldTransform. Source code: gameobjects/components/ScaleMinMax.js (Line 20)