New Group.destroy example and patched the desyrel font xml.

This commit is contained in:
photonstorm
2013-12-30 21:36:50 +00:00
parent ce4cf531d4
commit ba74bea4b4
6 changed files with 103 additions and 12 deletions
+2 -7
View File
@@ -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;
}