mirror of
https://github.com/wassname/phaser.git
synced 2026-06-28 16:20:37 +08:00
Fixed Animation index 0 issue and hooked TilemapLayer to camera.
This commit is contained in:
+1
-2
@@ -626,8 +626,7 @@ Phaser.Utils.Debug.prototype = {
|
||||
this.start(0, 0, color);
|
||||
|
||||
this.context.fillStyle = color;
|
||||
// this.context.fillRect(sprite.body.x - sprite.body.deltaX(), sprite.body.y - sprite.body.deltaY(), sprite.body.width, sprite.body.height);
|
||||
this.context.fillRect(sprite.body.x, sprite.body.y, sprite.body.width, sprite.body.height);
|
||||
this.context.fillRect(sprite.body.screenX, sprite.body.screenY, sprite.body.width, sprite.body.height);
|
||||
|
||||
this.stop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user