You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//client/composable.tsasyncfunctiongetSequentialSkin(){//////if(typeoflive2D.models==='string'){// HACK: The step of using `convertJsdelivrUrlToGithubApiUrl` should be avoided//const skins = await getFilenamesFromGitHub(convertJsdelivrUrlToGithubApiUrl(live2D.models))constskinslength=live2D.num//在配置中多定义一个皮肤数量constnewSkinIndex=getNewSkinIndex(skinslength)returngetModelJson(live2D.models,newSkinIndex)}//////}
咱使用项目时发现它还不太成熟,并且遇到了一些比较要紧的问题,就在这里说一下。由于项目比较复杂,代码比较规范,咱也无暇了解 pixi 等依赖,就先不 PR 了,只提交问题。
1.使用单个本地模型时,无法换肤
模型文件:
自己的缓解办法
2.隐藏时仍然持续消耗性能
点击隐藏后未停止 live2d,未删除定时器和事件监听器,持续消耗性能(另一个库 oh-my-live2d 也有这个问题)
自己的缓解办法
3.其他
增加更多可配置项:
修改掉按钮内意义不明的文字
The text was updated successfully, but these errors were encountered: