SKAction Not Running in iOS 11 / Xcode 9

In Xcode I use SKReferenceNodes to save create the same objects over and over. This has worked great until Xcode 9. After upgrading, sprites in my reference files that had an action attached – either in the scene editor or in a corresponding class would not run their actions. I thought I had gone crazy, […]

SpriteKit Smooth Rotation

Making a sprite rotate towards a certain direction is very easy in SpriteKit. In this short tutorial I will show how to make a sprite rotate smoothly towards a point that you touch on the screen. In addition the sprite will move towards the location. This tutorial is written for Swift 3. Getting Started Launch […]

Setting A Restore Point For A Character In SpriteKit

If you are making a game with long or difficult levels, it can be a good idea to have your player spawn at a location other than the start of the level if the game is lost. It may be better for gameplay or to provide an incentive to continue with difficult levels. Here’s one […]