mirror of
https://github.com/wassname/phaser.git
synced 2026-10-01 12:21:02 +08:00
RenderTexture now displays correctly in Canvas games.
Stage.display property added. A direct reference to the root Pixi Stage object (very useful for RenderTexture manipulation)
This commit is contained in:
1 parent
5a5d465034
commit
0acef49a7c
85 files changed
+7476
-7067
No files matched your search
@@ -47,6 +47,11 @@ Phaser.Stage = function (game, width, height) {
|
||||
this._stage.name = '_stage_root';
|
||||
this._stage.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