mirror of
https://github.com/wassname/phaser.git
synced 2026-10-09 12:20:18 +08:00
Updated debug header and added more info to the project template.
This commit is contained in:
1 parent
581d637663
commit
787abc1e02
8 files changed
+71
-10
No files matched your search
@@ -142,6 +142,12 @@ Phaser.Sprite = function (game, x, y, key, frame) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The rectangular area from the texture that will be rendered.
|
||||
* @property {Phaser.Rectangle} textureRegion
|
||||
*/
|
||||
this.textureRegion = new Phaser.Rectangle(this.texture.frame.x, this.texture.frame.y, this.texture.frame.width, this.texture.frame.height);
|
||||
|
||||
/**
|
||||
* The anchor sets the origin point of the texture.
|
||||
* The default is 0,0 this means the textures origin is the top left
|
||||
|
||||
Reference in new issue
Block a user