Tween no longer copies all the object properties into the _valuesStart object on creation.

Fixed shadow bug in Debug.text
Fixed tween examples.
This commit is contained in:
photonstorm
2014-03-03 02:40:59 +00:00
parent 76040d303e
commit 6f513042c1
7 changed files with 55 additions and 34 deletions
+4 -3
View File
@@ -581,15 +581,16 @@ Phaser.Utils.Debug.prototype = {
this.start();
this.context.font = font;
this.context.fillStyle = color;
this.context.fillText(text, x, y);
if (this.renderShadow)
{
this.context.fillStyle = 'rgb(0,0,0)';
this.context.fillText(text, this.currentX + 1, this.currentY + 1);
this.context.fillText(text, x + 1, y + 1);
}
this.context.fillStyle = color;
this.context.fillText(text, x, y);
this.stop();
},