Spritekit

Coordinate system in Sprite Kit

SpriteKit coordinates The coordinate system in Sprite Kit might give you a headache if you didn’t dig deep enough while reading the documentation. In this post I will explain differences between SKScene and SKNode when it comes to coordinate system in Sprite Kit. SKScene Sprite Kit uses a coordinate system orientation that starts from the bottom left corner of the screen (0, 0), and the x and y values increase as you move up and to the right.

Playing sounds in Sprite Kit using SKAction

This article discusses adding sound effects to a Sprite Kit project using SKAction and provides you with a couple of tips and tricks and useful code snippets. It also explains performance issues that may appear when dealing with sounds not in the best, most efficient way and gives insights into how to avoid these problems. Using SKAction There are many ways you can play sounds in Sprite Kit game. The easiest way of playing a sound file is using a SKAction.