I added an additional slot to a bone so that I could animate a blink.
It looks good in Spine, but when I export and go to Corona, I get this error:
2013-09-11 09:14:03.785 Corona Simulator[4534:707] Runtime error
...ects/Development/Alphabet/spine-lua/SkeletonJson.lua:165: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: ?
[C]: in function 'pairs'
...ects/Development/Alphabet/spine-lua/SkeletonJson.lua:165: in function 'readAnimation'
...ects/Development/Alphabet/spine-lua/SkeletonJson.lua:136: in function <...ects/Development/Alphabet/spine-lua/SkeletonJson.lua:55>
(tail call): ?
...arman/Dropbox/Projects/Development/Alphabet/main.lua:194: in function 'setupStageCharacter'
...arman/Dropbox/Projects/Development/Alphabet/main.lua:303: in function <...arman/Dropbox/Projects/Development/Alphabet/main.lua:302>
(tail call): ?
?: in function <?:172>
?: in function <?:218>
2013-09-11 09:14:08.412 Corona Simulator[4534:707]
I think it has to do with the animation on the slot visibility. Is that not supported in the Corona runtime?
thanks,
Dale