Fixed issue in Camera.inCamera check where it wouldn't take into consideration the Sprites scrollFactor.

This commit is contained in:
Richard Davey
2013-06-03 02:38:08 +01:00
parent b951b02de8
commit 2de70d07a5
22 changed files with 2254 additions and 121 deletions
+3
View File
@@ -302,6 +302,9 @@ module Phaser {
this.framerate = 60;
this.isBooted = true;
// Set-up some static helper references
ColorUtils.game = this;
// Display the default game screen?
if (this.onInitCallback == null && this.onCreateCallback == null && this.onUpdateCallback == null && this.onRenderCallback == null && this._pendingState == null)
{