mirror of
https://github.com/wassname/phaser.git
synced 2026-06-30 16:40:20 +08:00
New Group.destroy example and patched the desyrel font xml.
This commit is contained in:
@@ -120,11 +120,6 @@ Phaser.BitmapText = function (game, x, y, text, style) {
|
||||
this._cache.x = this.x;
|
||||
this._cache.y = this.y;
|
||||
|
||||
/**
|
||||
* @property {boolean} renderable - A renderable object will be rendered to the context each frame.
|
||||
*/
|
||||
this.renderable = true;
|
||||
|
||||
};
|
||||
|
||||
Phaser.BitmapText.prototype = Object.create(PIXI.BitmapText.prototype);
|
||||
@@ -153,8 +148,8 @@ Phaser.BitmapText.prototype.update = function() {
|
||||
this._cache.dirty = true;
|
||||
}
|
||||
|
||||
this.pivot.x = this.anchor.x*this.width;
|
||||
this.pivot.y = this.anchor.y*this.height;
|
||||
this.pivot.x = this.anchor.x * this.width;
|
||||
this.pivot.y = this.anchor.y * this.height;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user