swift - Trouble with SKAudioNode -


in app when screen touched want play file "pewpew.mp3". not working. i've looked @ several of these posts none of working. code:

let shootnoise = skaudionode(filenamed: "pewpew.mp3")         shootnoise.autoplaylooped = false         addchild(shootnoise)         shootnoise.run(skaction.play())         hero.run(playnoise) 

that inside of

override func(touchesended) 

any ideas? feel i'm over-thinking this.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -