AnimationParser.spriteSheet wasn't taking the margin or spacing into account when calculating the numbers of sprites per row/column, nor was it allowing for extra power-of-two padding at the end (fix #482, thanks yig)

AnimationManager.add documentation said that 'frames' could be null, but the code couldn't handle this so it defaults to an empty array if none given (thanks yig)
Also updated TypeScript definitions and StateManager.add docs.
This commit is contained in:
photonstorm
2014-02-26 01:32:38 +00:00
parent 29fcfc515d
commit 1aea08d0f7
5 changed files with 2329 additions and 1691 deletions
+2316 -1684
View File
File diff suppressed because it is too large Load Diff