skaudionode Questions

4

This is the first time I use SKAudioNode. First I declared a property at the top of my GameScene class: var backgroundMusic: SKAudioNode! Now I added a helper method: func playBackgroundMusic(n...
Poynter asked 9/4, 2016 at 15:16

2

Solved

I am using a SKAudioNode() to play background music in my game. I have a play/pause function and everything is working fine until I plug in my headphones. There is no sound at all and when I call t...
Incriminate asked 26/2, 2016 at 21:31

1

Solved

I found out SKAction playSoundFileNamed does memory leak in IOS 9: https://forums.developer.apple.com/thread/20014 They recommend to use SKAudioNode, but the example is swift and i use objective-c...
Allier asked 22/3, 2016 at 17:25
1

© 2022 - 2024 — McMap. All rights reserved.