Closed ghost closed 4 years ago
可以的,主要我是参考live2d-widget-models这个插件开发的,它本身就带有mp3文件,而且也没有互动音效。后面会优化的
新版本已经暂时去掉互动音效,更新插件命令
npm update vuepress-plugin-helper-live2d --save
# or
yarn upgrade vuepress-plugin-helper-live2d
打包结果中的mp3文件怎么反而变多了
你确定升级包了?
yarn remove掉,再重新yarn add回来,vuepress build出来的dist确实有这些mp3文件啊
清除下缓存试试
npm cache clean --force
# yarn
yarn cache clean
清除下缓存试试
npm cache clean --force # yarn yarn cache clean
还是在生成所选角色的snd mp3文件,shizuku有15个,实在不行我要编脚本删snd文件夹了
@txu1 我主页有我联系方式,方便的话你可以加我我远程帮你看看
已解决,老版本缓存问题
不管换不换角色模型,打包出来的 dist / live2d / shizuku / assets / snd 里总会有15个mp3文件 换了 hibiki 这个角色,又多出 dist / live2d / hibiki / assets / snd 里的5个mp3文件 这么多mp3文件都在dist文件里要上传
关键是角色点了也不互动,要不把打包结果优化下去掉mp3文件?或者给角色添加互动音效?