mirror of
https://github.com/wassname/phaser.git
synced 2026-07-08 00:10:32 +08:00
Text converted and a couple of examples created. Using new extend system, so much smaller classes now.
This commit is contained in:
@@ -146,6 +146,7 @@ Phaser.Utils.Debug.prototype = {
|
||||
|
||||
if (showText)
|
||||
{
|
||||
this.currentColor = color;
|
||||
this.line('x: ' + Math.floor(sprite.topLeft.x) + ' y: ' + Math.floor(sprite.topLeft.y), sprite.topLeft.x, sprite.topLeft.y);
|
||||
this.line('x: ' + Math.floor(sprite.topRight.x) + ' y: ' + Math.floor(sprite.topRight.y), sprite.topRight.x, sprite.topRight.y);
|
||||
this.line('x: ' + Math.floor(sprite.bottomLeft.x) + ' y: ' + Math.floor(sprite.bottomLeft.y), sprite.bottomLeft.x, sprite.bottomLeft.y);
|
||||
|
||||
Reference in New Issue
Block a user