Game Development Reference
In-Depth Information
self.view = SCNView()
}
}
Now if you run the game, you will see a blank screen, which is a great place for you to
start the game.
Project Resources
One thing that you will need to have is the image assets that will be used throughout the
topic. You will need to download these items from www.apress.com/9781484204016 .
Xcode uses the folder type.scnassests to optimize your 3D assets for quick loading
and smooth rendering at runtime. If you look at your project, you will have a folder
named art.scnassets that contains the default images ship.dea and tex-
ture.png . To make changes to this folder, go to the Finder and remove the two files.
Once you do this, you will notice that Xcode is updated to reflect the files that are no
longer in that directory.
Now that you have removed the ship.dea and texture.png files, you can copy the
game assets into this folder using the Finder application. Once you have completed this
step, Xcode should look like Figure 10-7 .
Figure 10-7 . Art assets
Now that you have these files in the project, you will need to add the static images to the
project. This time you can simply drag the image from your folder in the Finder to the
Search WWH ::




Custom Search