mirror of
https://github.com/wassname/phaser.git
synced 2026-07-19 11:26:26 +08:00
Tiling Sprite added
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user