I am trying to scale an SKSpriteNode object without smoothing/anti-aliasing (I\'m using pixel-art so it looks better pixelated).
Is there a property I need to set to do
Try,
SKTexture *texture = [SKTexture textureWithImageNamed:@"Fak4o"];
texture.filteringMode = SKTextureFilteringNearest;
SKSpriteNode *newHero = [SKSpriteNode spriteNodeWithTexture:texture];
newHero.position = CGPointMake(200, 200);
[newHero setScale:50];
[self addChild:newHero];
SKTextureFilteringNearest
Each pixel is drawn using the nearest point in the texture. This mode is faster, but the results are often pixelated.
Swift:
sprite.texture!.filteringMode = .Nearest