April 2021
Beginner to intermediate
506 pages
11h 57m
English
In Configure the View and Load the Scene, you learned how to load a scene file through code. If you recall, loading a scene file takes place in the viewDidLoad() method of the GameViewController.swift file and looks like this:
| | if let scene = GKScene(fileNamed: "GameScene") |
But loading the scene is only half of the story—you still need to write the code that interfaces with the objects within the scene, for example, the player node. In this section, you’ll concentrate on making that connection.
To begin, open the valsrevenge project in Xcode.
Read now
Unlock full access