mirror of
https://github.com/wassname/phaser.git
synced 2026-06-28 16:20:37 +08:00
Lots of new examples and updates.
This commit is contained in:
@@ -298,6 +298,8 @@ Phaser.Utils.Debug.prototype = {
|
||||
this.start(x, y, color);
|
||||
this.line('Camera (' + camera.width + ' x ' + camera.height + ')');
|
||||
this.line('X: ' + camera.x + ' Y: ' + camera.y);
|
||||
this.line('Bounds x: ' + camera.bounds.x + ' Y: ' + camera.bounds.y + ' w: ' + camera.bounds.width + ' h: ' + camera.bounds.height);
|
||||
this.line('View x: ' + camera.view.x + ' Y: ' + camera.view.y + ' w: ' + camera.view.width + ' h: ' + camera.view.height);
|
||||
this.stop();
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user