• International中文
  • 前端使用皮肤切换时会闪一下?这个有什么好的解决办法吗?

前端使用的是spine-4.1的二进制资源文件,在使用资源的皮肤时,切换的时候会闪一下,这个有什么好的解决办法吗?

Related Discussions
...

Do you mean that you are seeing flickering when switching skins in your game toolkit, at runtime? If so, which Spine runtime are you using (e.g. spine-unity, spine-godot, etc.)?

    Harald 前端使用的是js开发的,开发平台是pixi。我这边在spine里做了四个动画段,在switch动画中间的某一帧添加换肤的事件,如图所示~但是前端在使用的时候出现了跳帧的样子。

      6 jours plus tard

      @wzf814 Sorry for the late reply! I'm afraid we do not maintain the pixi.js Spine runtime. Nevertheless we will try to provide some help regarding general API usage. Could you please describe what exactly you mean by "skipping frames" when reacting to the event? Could you please also show the code you are using to switch skins using the pixi Spine runtime?

        8 jours plus tard

        Harald 前端那边已经解决了,感谢您抽出时间回复