在 gameScene.swift:
声明中:
var backgroundMusic: SKAudioNode!
在 didMoveToView 中:
if let musicURL = NSBundle.mainBundle().URLForResource("Jalandhar", withExtension: "mp3") {
backgroundMusic = SKAudioNode(URL: musicURL)
addChild(backgroundMusic)
}