Tiling Sprite added

This commit is contained in:
Richard Davey
2013-09-03 03:19:42 +01:00
parent c18de53bab
commit 66e86e7d82
10 changed files with 524 additions and 15 deletions
+3 -4
View File
@@ -70,13 +70,13 @@ Phaser.Sprite = function (game, x, y, key, frame) {
* @property blendMode
* @type Number
*/
this.blendMode = PIXI.blendModes.NORMAL;
// this.blendMode = PIXI.blendModes.NORMAL;
this.x = x;
this.y = y;
this.updateFrame = true;
this.renderable = true;
// this.updateFrame = true;
// this.renderable = true;
this.position.x = x;
this.position.y = y;
@@ -355,5 +355,4 @@ Object.defineProperty(Phaser.Sprite.prototype, "inCamera", {
return this._cache.cameraVisible;
}
});