Uncaught TypeError: Cannot read property ‘create’ of undefined
var spineBoy = sp.SkeletonAnimation.create(‘res/skeletons/spineboy.json’, ‘res/skeletons/spineboy.atlas’,1);
出現這個問題,在test工程拿spinetest.js出來自己run的時候.
另外想要換膚換頭髮等功能.在那個地方會有教學/sample ?
謝謝
Uncaught TypeError: Cannot read property ‘create’ of undefined
var spineBoy = sp.SkeletonAnimation.create(‘res/skeletons/spineboy.json’, ‘res/skeletons/spineboy.atlas’,1);
出現這個問題,在test工程拿spinetest.js出來自己run的時候.
另外想要換膚換頭髮等功能.在那個地方會有教學/sample ?
謝謝
若是在html5上跑的話,project.json記得要在module的地方加上 “extensions”
換膚換頭髮則是要用官方工具產出atlas圖檔才行