Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从播放列表加载了简单的 CCAnimation,当我在模拟器上测试它时一切正常,但是当测试设备动画时没有播放?
有人能告诉我问题出在哪里吗?
请记住,设备对密钥敏感,因此如果您的文件真实名称是 MyAnimation.png,则加载 myanimation.png 可以在模拟器上运行,但不能在设备上运行。
无论如何,正如 YvesLeBorg 所说,一些代码或日志会有所帮助。
一些代码会有所帮助,也许是来自设备的日志。可能是您的 plist 或您的纹理没有进入设备。尝试 1)确保您的 plist 和纹理包含在目标中,2)清理目标,构建并运行。