Book Image

iOS 7 Game Development

By : Dmitry Volevodz
Book Image

iOS 7 Game Development

By: Dmitry Volevodz

Overview of this book

<p>Sprite Kit, a new framework introduced in iOS7, has been designed as a built-in animation workflow for keyframing 2D animation without the need of engines such as Unity to serve as an intermediate. Sprite Kit enables the easy and fast development cycle, leaving more time to work on gameplay and polish, and less on tedious tasks.</p> <p>This book offers a practical approach to game development with the Sprite Kit framework of iOS7 platform, by creating an endless runner game. You will gain a full understanding of the new Apple framework along with tips and tricks to interact with the game either by detecting taps, using sophisticated gesture recognizers, and moving sprites by dragging.</p> <p>Starting with how to get your first sprite on screen, and then moving on to complicated physics and animations, we will be learning about the new features that iOS7provides for game development. You will also learn how to optimize your game performance, how to add animation files and create texture atlas in Xcode 5, and how to build different particles. By the end of the book you will learn how to create full featured endless runner game, with animations, sound effects and particle systems, how to post you application to the iTunes Appstore and about different application icons, categories, certificates, provisioning profiles, new Xcode publishing features and review process.</p> <p>This book will teach you everything you need to know to create your own powerful and immersive games.</p>
Table of Contents (14 chapters)
iOS 7 Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preparing our application for the App Store


In order to prepare our application for App Store, we need to perform the following steps:

  1. Set the deployment info by selecting a project in the project navigator and opening Deployment info if needed. Here, we set different settings of our application, such as supported versions (Sprite Kit only supports iOS 7 and higher versions), devices (our application is iPhone only), orientations (make sure only Landscape ones are selected), and others such as the status bar's style and the first launching storyboard.

  2. Add app icons by performing the following steps:

    1. Open Images.xcassets in the project navigator.

    2. Select AppIcon.

    3. Add icons from resources of this chapter 58.png, 80.png, and 120.png respectively and drop them to the icon places, as shown in the following screenshot. Since our application is iPhone-only, we only need three icons. If we made an iPad version, we would have to add many more icons.

    Adding icons to the project