I'm using SpriteKit for a 2D game and have an array of images for a simple animation. First, I'm creating an array with SKTextures to keep referen ...
I'm using SpriteKit for a 2D game and have an array of images for a simple animation. First, I'm creating an array with SKTextures to keep referen ...
I created a SKEmitterNode and I want the particleTexture property to animate images. This is what I'm trying, but it is only showing the first image: ...
I'm using GKNoise with a gradient map to generate color noise, getting a CGImage via SKTexture, on Mac OS. In particular I'm using a GKPerlinNoiseSour ...
If my player collides with the drugNode object, I want to change the texture of the animation to the correct image. But I don't know how to get the na ...
I'm trying to retrieve UIImage from SKTexture where SKTexture comes from an SKTextureAtlas. Which make is harder due to the fact .cgImage() isn't work ...
I have a 200 x 100 box-like menu button SKSpriteNode declared below. The problem is, the hitbox for the button is still right, and the width of the ...
I want to create a sphere of green color with a red point on its surface. One of the most efficient way that I found was to use a SKScene as the textu ...
I want to use SpriteKit to render multiple dynamic textures updating at 30fps in a simple scene. SKMutableTexture seems like a better choice than the ...
My problem is that when I play my game, I lose my life even if the enemy does not touch my character, but flies very close to him. I understand that t ...
I am working on a simple game application and am stuck on a really weird scaling problem. I have extended SKSpriteNode to make a class that represents ...
In my game I am creating a Circle object with a certain texture but for example if the Circle hits a certain wall, I want its texture to change. Unfor ...
I have a question which I am breaking my brains over for the last hours. I am creating a tiled map, and as textures for the tiles I have some spritesh ...
I am using a SKMutableTexture to render destructable ground in a game. For all intents and purposes, this works great, except for when I want to rende ...
I am building a game in Spritekit with Xcode currently. After updating to Xcode 9 I've found that every time I set a texture through the .sks file, Xc ...
I'm trying to code a cooler version of Flappy Bird where the bird changes to something cooler which is contingent on the score. Your help would really ...
I'm developing an ios app. I have a SKSpriteNode on screen and I'm getting a drawing from the user that I'm storing as SKTexture. I would like to comb ...
Ok. I am having a very odd problem with SKTextures and animating through - I have created a sprite node like this and set the normal texture to the la ...
Is there a way to assign the filteringMode attribute to SKTextureFilteringMode.nearest for ALL SKTextures? Other than assigning to each texture indivi ...
I cannot figure it out how to apply mipmaps for SKTexture texture. I'm using XCode 8.2.1 with Swift. Here is my method: I use sample image png 512 ...
I have been trying to render a node tree into an SKTexture as a possible solution to another question here. I tried searching for an answer to this, a ...