April 2021
Beginner to intermediate
506 pages
11h 57m
English
The SpriteKit framework includes a special kind of node known as a reference node, which is backed by the SKReferenceNode class. You create and use these nodes in your scenes when you want to reference the content saved in a different archived sks file.
With reference nodes, you can share content across multiple scenes without having to worry about unnecessary duplication. Because Val’s Revenge will undoubtedly include more than one level (scene), using reference nodes for certain content makes sense.
In the next section, you’ll use reference nodes to build a simple 8-way D-pad controller and the Attack button. Later, in Build Better On-Screen Controls, you’ll modify these controls to make them more robust, ...
Read now
Unlock full access