Problem I am attempting to learn swift by refactoring one of my old games and I need to rewrite my […]
Tag: sprite-kit
SKAction on SKLabel with array of Strings
Problem I have an SKLabel attached to a parent SKNode and an array of strings: let configText:[String] = [ “Configuration”, […]
Calling a method only once in an updateScore function in SpriteKit
Problem This works fine, but obviously it’s messy and I’m thinking there has to be a better way to do […]
Sprite-Kit/Swift game
Problem I was writing a game in Swift and Sprite Kit and it is very simple. It works perfectly other […]
Subclass SKSpriteNode
Problem I decided to subclass SKSpriteNode for a game test in Swift today and soon realised that it was not […]
Vertical-scrolling 2D platform game
Problem I am working on a vertical-scrolling 2D platform game using GameplayKit, SpriteKit and I am writing it in Swift […]