Game Development Reference
In-Depth Information
Chapter
10
Creating Your First Scene Kit Project
In this chapter, you will dive right in and create your own game. For this game you will
continue with the SuperSpaceMan theme and create a hide-and-seek style of game. You
will start with some basic 3D code for a portrait-only game. By the end of the chapter, you
will have a complete landscape-only 3D game with your hero in the middle of the scene.
Scene Kit Primer
Scene Kit is Apple's powerful 3D graphics framework that makes creating casual 3D
games simple. By using the Scene Kit API, you can create fully immersive 3D games
without having knowledge of OpenGL. Scene Kit was first released for OS X Mountain
Lion, but now with the release of iOS 8, developers can create amazing casual 3D games.
Scene Kit is used to create a scene graph , which contains a scene and a hierarchy of nodes,
as shown in Figure 10-1 . Scene Kit uses these nodes to display scenes in a view and pro-
cesses the scene graph using the graphics processing unit (GPU). This improves the per-
formance of rendering the frames on the device.
Figure 10-1 . Scene graph
Search WWH ::




Custom Search