Scene to scene issues.

I am having trouble going from scene to scene when I hit my start button. When I click it nothing happenes. Here is a link to download the files to my project. http://www.mediafire.com/file/tdcjtdcmmyzfsqv/real%20eater%20game.xcodeproj.ziphttp://


Here is the code for my main menu scene.swft


import SpriteKit
class main_menu_scene: SKScene {
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
       
       
        for touch in touches {
            let location = touch.location(in: self);
           
            if atPoint(location).name == "Start" {
                if let view = self.view {
                    /
                    if let scene = GameplaySceneClass(fileNamed: "GameplayScene") {
                        /
                        scene.scaleMode = .aspectFill
                       
                        /
                        view.presentScene(scene,transition:
                            SKTransition.doorsOpenVertical(withDuration:
                                TimeInterval(2)));
                    }
            }
           
           
        }
       
       
    }
   
   
   
} / 
}

Replies

Start button : XCode start or a Start button withing your App ?


If the later, show the IBAction of this start button