Game Development Reference
In-Depth Information
How it works...
The structure of SpriteKit is fundamentally derived and inherited from the UIKit frame-
work. The operating system offers a smooth transition from UIKit to SpriteKit by just
typecasting the UIKit view controller's view to a SpriteKit view called SKView. After this,
you are ready to play with the SpriteKit stuff. As shown in the following block diagram,
create a scene, add some nodes (that is Sprites as players, background stuff, and so on) to it
and you have the game environment built. You can also make the environment more live by
applying some actions (rotate, move, scale, and many more) to the nodes added.
Hence, in combination, this scene has different kinds of nodes with some actions applied,
that make the basic structure of your SpriteKit and also the game you thought of building.
Search WWH ::




Custom Search