ios - "Template Rendering is not supported in texture atlases"SpriteKit 和 Xcode

标签 ios xcode swift sprite-kit sktextureatlas

我正在使用 SpriteKit 制作游戏,我正在为我的所有纹理使用纹理图集。我正在使用设置

  • 比例因子:单向量

Xcode 给我一个关于这个 TextureAtlas 的警告:

Template rendering is not supported in texture atlases.

我不知道这是什么意思

最佳答案

在您的资源文件夹中,您的纹理之一被标记为“渲染为:模板图像”。纹理图集不支持此渲染模式,因此需要将其改回默认

关于ios - "Template Rendering is not supported in texture atlases"SpriteKit 和 Xcode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38012368/

相关文章:

ios - Firestore 文档存在在 iOS Swift 中返回错误结果

iphone - 更改 UINavigationItem 颜色

ios - 为什么 XCTest 在 64 位架构上运行测试两次?

ios - UiTextfield-首字母必须为0

swift - 命令因信号 : Segmentation fault: 11 while emitting IR SIL function 而失败

ios - 共享框架中的 CGPoint 和 CGRect

ios - 从 Objective C 调用 Swift 中定义的 NSString 扩展

ios - 如何在 UITableViewCell 中创建信息按钮?

ios - 如何在 Swift 中使用 addAttribute

iOS 10.2 UNUserNotificationCenterDelegate/UNTimeIntervalNotificationTrigger 错误?