The Problem I have a set of SKSpriteNodes within a GameScene that are positioned in an orderly manner i.e. their positions are constantly spaced e.g. ...
The Problem I have a set of SKSpriteNodes within a GameScene that are positioned in an orderly manner i.e. their positions are constantly spaced e.g. ...
There's something that's always puzzled me about category bit masks, and I'm reaching a point where I'm going to need a greater understanding of them. ...
how do I set the size of a multi-platform app in xcode (spritekit) ? I know that you can't change the window size on iphone but this app is multi-plat ...
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). ...
If you are using structured concurrency in Swift, and are in an async context, the compiler will assume that if an async version of a function exists, ...
I am trying to use a SKCropNode with a width of at least 5000 pixels, yet if the maskNode property width is greater than 4100 something strange happen ...
I want to create an app for my iPad to design some simple electronic schematics using SwiftUI. But I don't know the best way to create the canvas - th ...
. Answers to this question are eligible for a +50 reputation bounty. Go ...
I'm trying to apply a warp/distortion effect to all SKSpriteNodes that pass through a fixed rectangle sized area on the screen. Shown in the image bel ...
Working on taking around 23 ".mov" files - short animations - that will piece together to make a children's book, with a choose-your-own-adventure sty ...
I recently converted my Storyboard SpriteKit WatchOS app from Storyboards to SwiftUI, in one part of my code I use the WKInterfaceSKScene.texture meth ...
I have written a small macOS application that sizes a 64 x 64 grid of SKSpriteNodes based on the smaller of the height or width of the view: ...num ...
Update: using bg2b's solution fixed the problem. The resulting code can be seen here (hmmm, need to add a readme). I came across some articles on an ...
I'm getting the error: Cannot convert value of type 'SKSpriteNode.Type' to expected argument type 'SKSpriteNode' I've been having trouble just trying ...
My SpriteKit app, which uses several GLSL fragment shaders, is showing different shader behaviour on iOS 16 as compared to iOS 15 and earlier. On iOS ...
I want to fill a SKShapeNode with a linear gradient. Being a programming perfectionist I want the solution to be as customizable as possible. So I dec ...
Please help. I'm doing a game with Swift 4. I want to make a loop that creates random grounds(and coins together) at different heights as a player com ...
I'm trying to add a mask to a SKSpriteNode, where the mask is a gradient( as attached) but the image is not masked at all. Is it possbile that the ...
I am trying to detect two simultaneous touches in my sprite kit game, but the game only detects my first touch and ignores the second one. I am using ...
I am getting the error -[MTLTextureDescriptorInternalvalidateWithDevice:], line 1325: error 'Texture Descriptor Validation MTLTextureDescriptor has h ...