WebGLBlendModeManager#currentBlendMode

currentBlendMode : number Source code: pixi/renderers/webgl/utils/WebGLBlendModeManager.js (Line 12)

Point.perp()

<static> perp(a, out) → {Phaser.Point} Return a perpendicular vector (90 degrees rotation) Parameters Name Type Argument Description a Phaser.Point The Point object. out Phaser.Point <optional> Optional Point to store the value in, if not supplied a new Point object will be created. Returns Phaser.Point - The new Point object. Source code: geom/Point.js (Line 652)

Text#clearFontValues()

clearFontValues() → {Phaser.Text} Clears any text styles or weights font that were set by addFontStyle or addFontWeight. Returns Phaser.Text - This Text instance. Source code: gameobjects/Text.js (Line 813)

WebGLBlendModeManager#setBlendMode()

setBlendMode(blendMode) Sets-up the given blendMode from WebGL's point of view. Parameters Name Type Description blendMode Number the blendMode, should be a Pixi const, such as PIXI.BlendModes.ADD Source code: pixi/renderers/webgl/utils/WebGLBlendModeManager.js (Line 32)

Math#angleBetweenPoints()

angleBetweenPoints(point1, point2) → {number} Find the angle of a segment from (point1.x, point1.y) -> (point2.x, point2.y). Parameters Name Type Description point1 Phaser.Point The first point. point2 Phaser.Point The second point. Returns number - The angle between the two points, in radians. Source code: math/Math.js (Line 439)

Sprite#removeChildren()

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes. Parameters Name Type Description beginIndex Number The beginning position. Default value is 0. endIndex Number The ending position. Default value is size of the container. Inherited From PIXI.DisplayObjectContainer#removeChildren Source code: pixi/display/DisplayObjectContainer.js (Line 213)

Math#between()

between(min, max) → {number} Returns a number between the min and max values. Parameters Name Type Description min number The minimum value. Must be positive, and less than 'max'. max number The maximum value. Must be position, and greater than 'min'. Returns number - A value between the range min to max. Source code: math/Math.js (Line 26)

Math#bezierInterpolation()

bezierInterpolation(v, k) → {number} A Bezier Interpolation Method, mostly used by Phaser.Tween. Parameters Name Type Description v Array The input array of values to interpolate between. k number The percentage of interpolation, between 0 and 1. Returns number - The interpolated value Source code: math/Math.js (Line 769)

GameObjectFactory#image()

image(x, y, key, frame, group) → {Phaser.Image} Create a new Image object. An Image is a light-weight object you can use to display anything that doesn't need physics or animation. It can still rotate, scale, crop and receive input events.This makes it perfect for logos, backgrounds, simple buttons and other non-Sprite graphics. Parameters Name Type Argument Default Description x number <optional> 0 The x coordinate of the Image. The coordinate is relative to any parent container

World#resize()

resize(width, height) Updates the size of this world. Note that this doesn't modify the world x/y coordinates, just the width and height. Parameters Name Type Description width number New width of the game world in pixels. height number New height of the game world in pixels. Source code: core/World.js (Line 125)