JetLua / fish

Pixi.js 开发微信小游戏示例
MIT License
46 stars 9 forks source link

有没有集成过 spine 我集成 #1

Open a610569731 opened 4 years ago

a610569731 commented 4 years ago

spineData拿不到数据 html加载没问题
PIXI.Loader.shared.add('spineCharacter', 'static/sp/IK.json').load(function (loader, resources) { var animation = new PIXI.spine.Spine(resources.spineCharacter.spineData);

a610569731 commented 4 years ago

解决了 在 core里面加 import './env' import "pixi-spine";

JetLua commented 4 years ago

好滴,是微信小游戏吗?期待一个上线二维码

a610569731 commented 4 years ago

还在学习,我刚想加个 input https://github.com/ONode/pixi-textinput 集成报undefined 大神有空看下第三方的怎么集成到你的工程