- Изменено
4.0的spine-cocos2d-objc版本SpineboyExample的"portal"动画异常
你好,我下载了4.0的运行库,编译运行了spine-cocos2d-objc版本,发现SpineboyExample这个demo有问题,播放"portal"动画小男孩渲染异常,其他动画没发现,就"portal"动画有问题。
请查看附件截图。
你好,这个运行库的地址可以发下吗谢谢
对不起,我忽略了这一点! 请注意,从 Spine 4.2 开始,我们将不再支持 spin-cocos-objc,因为 cocos-objc 项目本身自 2017 年以来没有更新,并且不再为更新的 iOS 版本编译开箱即用。 我建议切换到 Cocos2d-x 和相应的 Spine Runtimes。
Sorry, I overlooked this! Please note that from Spine 4.2 onwards, we will no longer support spine-cocos-objc, as the cocos-objc project itself hasn't been updated since 2017 and no longer compiles out of the box for newer iOS versions. I recommend switching to Cocos2d-x and the corresponding Spine Runtimes.
我们现在需要ios支持使用spine动画,想用这个spin-cocos-objc版本,能不能把这个bug解决一下,谢谢!
我们现阶段只需要4.0的spine-cocos-objc版本
我在这里打开了一个问题:EsotericSoftware/spine-runtimes2176
我会尽快解决这个问题。
I've opened an issue here: https://github.com/EsotericSoftware/spine-runtimes/issues/2176
I'll try to get to this as soon as possible.
I'm afraid this is an issue with ARM64 iOS simulators running on Apple Silicon Macs. There is a bug in the OpenGL driver of the simulator. It also affects other SDKs like Google Maps. You either have to run an x86_64 iOS simulator or run on a real device.
See https://github.com/EsotericSoftware/spine-runtimes/issues/2176#issuecomment-1278837508
您好,我这边在使用4.0的 版本,在 切换资源文件 的时候,屏幕会闪一下,经过测试发现是不同资源的切换之前设置的 属性X和Y轴还是从0,0开始移动到 我设置的位置造成闪动
spBone *bone = [self.skeletonNode findBone:@"root"];
bone->x = SCR_W / 2.0;
bone->y = - 15;
bone->scaleX = 1.5;
bone->scaleY = 1.5;
确保在设置骨骼属性后在骨骼节点上调用 updateWorldTransform
。
Make sure to call updateWorldTransform
on the skeleton node after setting the bone attributes.
请问是这样的吗?
请提供一个简单的场景(.h/.m 文件)来重现我可以放入我们的 spin-cocos-objc 示例项目中的问题。
please provide a simple scene (.h/.m files) that reproduces the issue which I can drop into our spine-cocos-objc example project.