Closed tajitaj closed 9 years ago
It's probably related to this one: https://github.com/cocos2d/cocos2d-js/pull/1132
We will support new sp.SkeletonAnimation
soon, but for now, please use sp.SkeletonAnimation.create
thanks! sp.SkeletonAnimation.create() works, will be waiting for the update soon
Version: cocos2d-js v3.2 IDE: cocos Code IDE v1.1.0 Android ver: android-20 modules in project.json: ["cocos2d", "extensions", "external", "pluginx", "plugin-facebook"]
Publishing Runtime is ok, but when executing app with spine object it says: Error: Constructor for the requested class is not available, please refer to the API reference. Error occurred on the line where I declared: "var spHero = new sp.SkeletonAnimation(res.spTAHero_json, res.spTAHero_atlas, 1);" but it works well using the PrebuiltRuntimeJs.apk
did I miss something to include when publishing a runtime?