mirror of
https://github.com/wassname/phaser.git
synced 2026-09-10 12:29:30 +08:00
Fixed issue in Camera.inCamera check where it wouldn't take into consideration the Sprites scrollFactor.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user