Phaser.Stage now extends PIXI.Stage, rather than containing a _stage object.

(Warning: currently breaks camera based code and pointers, as the scale property is removed).
This commit is contained in:
photonstorm 2014-02-12 23:12:36 +00:00
parent f6113ac6c4
commit b85f40df12
2 changed files with 1 additions and 6 deletions

View file

@ -75,6 +75,7 @@ Significant API changes:
* Text.content has been replaced with Text.text. The Text class has a lot of new methods, check the docs!
* Loader won't set crossOrigin on Images unless it's set to something. The default is false, it used to be '' and can be any valid string.
* Sprite.input.pixelPerfect has been split into two: Sprite.input.pixelPerfectClick and Sprite.input.pixelPerfectOver (see new features)
* Phaser.Stage now extends PIXI.Stage, rather than containing a _stage object.
New features:

View file

@ -51,12 +51,6 @@ Phaser.Stage = function (game, width, height) {
this.name = '_stage_root';
this.interactive = false;
/**
* @property {PIXI.Stage} display - The Pixi Stage which is hooked to the renderer.
*/
// this.display = this._stage;
/**
* @property {number} scaleMode - The current scaleMode.
*/