Fixed Animation index 0 issue and hooked TilemapLayer to camera.

This commit is contained in:
photonstorm
2013-10-16 02:09:12 +01:00
parent fd5eeb9088
commit a97f271de7
15 changed files with 844 additions and 306 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ Phaser.AnimationManager.prototype = {
// If they didn't set the useNumericIndex then let's at least try and guess it
if (typeof useNumericIndex === 'undefined')
{
if (frames && frames[0] && typeof frames[0] === 'number')
if (frames && typeof frames[0] === 'number')
{
useNumericIndex = true;
}