mirror of
https://github.com/wassname/phaser.git
synced 2026-07-04 17:20:31 +08: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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user