Text converted and a couple of examples created. Using new extend system, so much smaller classes now.

This commit is contained in:
Richard Davey
2013-09-03 06:02:47 +01:00
parent 5acb4e9f1b
commit 8a90a87492
9 changed files with 124 additions and 34 deletions
+1
View File
@@ -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);