Fixing up Pixis setBackgroundColor.

This commit is contained in:
photonstorm
2014-02-08 09:14:44 +00:00
parent ee3f6d8e7f
commit 243820c973
7 changed files with 1300 additions and 18 deletions
+2
View File
@@ -166,6 +166,7 @@ Phaser.Sprite.prototype.constructor = Phaser.Sprite;
*/
Phaser.Sprite.prototype.preUpdate = function() {
/*
if (this._cache[4] === 1)
{
console.log('sprite cache fresh');
@@ -187,6 +188,7 @@ Phaser.Sprite.prototype.preUpdate = function() {
return;
}
*/
this._cache[0] = this.world.x;
this._cache[1] = this.world.y;