mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
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:
parent
f6113ac6c4
commit
b85f40df12
2 changed files with 1 additions and 6 deletions
|
@ -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:
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue