I have an SKNode which contains 2 sub nodes (a sprite node w/an image and an SKLabelNode above the image which prints the number of available units). ...
I have an SKNode which contains 2 sub nodes (a sprite node w/an image and an SKLabelNode above the image which prints the number of available units). ...
im try to use the font "SFMono-Light" as font of my SKlabel.. but keep getting the error says "SKLabelNode: SFMono-Light" font not found. Funny sto ...
I have a spriteKit project where I have many characters across several scenes. As a beginner I just built each one individually for each scene - whic ...
So basically I am trying to have this app change its background when a button is pushed. The way I'm trying to do it is to set a variable 0 and if the ...
The SKScene has a update(_ delta: TimeInterval) function to use per frame. I am wondering how I can do it for a custom SKNode? The use case is that I ...
I'm loading a SKScene from a file. In it, a SKShapeNode that I can see on the screen. But if set the "custom class" to a class like TestNode below, th ...
I store an array of spriteNode into an array spacecraftArray with the code as follows. Later on, I need to access a specific item in the array. How do ...
I'm building a function in which a random variable will choose 1 in 4 SKSpritenode in an array and assign itself to it. However, that randomline, alth ...
I am creating a card game and having trouble having SKActions run in a sequence across multiple SK Objects (Nodes, Textures, Labels, etc.). Any help w ...
I've implemented a zoom feature, but the nodes I use to move the player, arrows pointing in the direction the player moves, stay the same size and I c ...
I am attempting to move a SKEmitterNode to follow a bullet in my game to give it a trailing effect however, no matter which way I attempt to implement ...
I am new to SceneKit and some issue on SceneKit, i need to add 2d objects on 3d model Right now I already added 2d objects with skNode but that obje ...
I would like to optimize draw counts, but don't know where to start. Can someone briefly explain ( or point me in the right direction ) which factor ...
I want to know if there is a way to check the perfect collision of two SpriteKitNode objects. Below I added an example of what I want. I tried the SK ...
I have a ScrollView on my page and I have an array with a bunch of strings in it. I'm trying to display the strings on the page in a column with one s ...
I am making an app that shows the user the possible three dart combinations to end the game "commonly known as checkouts". I'm also wanting to highlig ...
Im trying to change the scale of my Spritekit node and nothing is working. Ive tried .setSize(), .xScale(), .yScale(), .size = CGSize(width: 0.5, he ...
I have a scene with a number of children which are sub-classed SKNodes. I am trying to access a method for each of the child nodes, but am getting the ...
AS always, I am not familiar with swift and SpriteKit, so apologies. I am creating a button that changes scene. I am using a simple code that detects ...
I have created an SKNode class that works perfectly fine. However, I can't change its .position after I have instantiated. The button does appear and ...