标签: iphone objective-c xcode sprite-kit
如果我有一个场景,那就说是100x100。当我将其扩展到手机屏幕的大小时,它会变得模糊,就像MIP-Mapping一样。当我放大场景时,我该如何制作它才能像素化?
答案 0 :(得分:1)
将每个受影响的纹理的filteringMode更改为最近的过滤。请参阅https://developer.apple.com/library/ios/documentation/SpriteKit/Reference/SKTexture_Ref/Reference/Reference.html#//apple_ref/occ/instp/SKTexture/filteringMode