Physics.P2#toJSON()

toJSON() → {object} Converts the current world into a JSON object. Returns object - A JSON representation of the world. Source code: physics/p2/World.js (Line 1399)

ScaleManager#onFullScreenInit

onFullScreenInit : Phaser.Signal This signal is dispatched when fullscreen mode is ready to be initialized butbefore the fullscreen request. The signal is passed two arguments: scale (the ScaleManager), and an object in the form {targetElement: DOMElement}. The targetElement is the fullScreenTarget element,if such is assigned, or a new element created by createFullScreenTarget. Custom CSS styling or resets can be applied to targetElement as required. If targetElement is not the same element a

GameObjectFactory#text()

text(x, y, text, style, group) → {Phaser.Text} Creates a new Text object. Parameters Name Type Argument Default Description x number <optional> 0 The x coordinate of the Text. The coordinate is relative to any parent container this text may be in. y number <optional> 0 The y coordinate of the Text. The coordinate is relative to any parent container this text may be in. text string <optional> '' The text string that will be displayed. style object <optio

ScaleManager.SHOW_ALL

[static] SHOW_ALL : integer A scale mode that shows the entire game while maintaining proportions - see scaleMode. Source code: core/ScaleManager.js (Line 625)

Bullet#kill()

kill() Kills the Bullet, freeing it up for re-use by the Weapon bullet pool.Also dispatches the Weapon.onKill signal. Source code: plugins/weapon/Bullet.js (Line 41)

StateManager#onCreateCallback

onCreateCallback : Function This is called when the state preload has finished and creation begins. Source code: core/StateManager.js (Line 100)

Device#iOS

iOS : boolean Is running on iOS? Source code: utils/Device.js (Line 58)

ScaleManager#pageAlignVertically

pageAlignVertically : boolean When enabled the Display canvas will be vertically-aligned in the Parent container (or window). To align vertically the Parent element should have a non-collapsible height, such that it will maintaina height larger than the height of the contained Game canvas - the game canvas will then be scaled verticallywithin the remaining available height dictated by the Parent element. One way to prevent the parent from collapsing is to add an absolute "min-height" CSS prop

Group#exists

exists : boolean If exists is true the group is updated, otherwise it is skipped. Default Value true Source code: core/Group.js (Line 100)

Cache#removeSpriteSheet()

removeSpriteSheet(key) Removes a Sprite Sheet from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1867)