绝对! spine-ts运行时使用TypeScript编写,这意味着您可以将它与任何JavaScript一起使用。 说明在这里:
Absolutely! The spine-ts runtime is written in TypeScript, which means you can use it with any JavaScript. Instructions are here:
spine-runtimes/spine-ts at 3.7
如上所述,您可能只需要使用build / spine-core.js
然后为JavaScript cocos2d-x添加渲染。
As described there, probably you just need to use build/spine-core.js
and then add rendering for JavaScript cocos2d-x.