Select Page

Playing audio with SpriteKit

Whilst recently working on the menu for my game, I decided to add some code to play an audio loop in the background. The code itself was pretty straight forward thanks to the SKAudioNode object provided by SpriteKit: //Start background music if let bgAudioUrl =...