Free Sample
+ Collection

iOS 7 Game Development

Dmitry Volevodz

No need for engines like Unity: with Sprite Kit you can create 2D animated games directly for the iOS platform. Best of all, with this book you can learn the fun, involving way – by creating your own game from scratch.
RRP $17.99
RRP $29.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783551576
Paperback120 pages

About This Book

  • Pen your own endless runner game using Apple’s new Sprite Kit framework
  • Enhance your user experience with easy-to-use animations and particle effects using Xcode 5
  • Utilize particle systems and create custom particle effects

Who This Book Is For

If you have great ideas for games and want to learn iOS game development, then this book is the right choice for you. Being familiar with iOS development is a plus, but is not mandatory. You will gradually get to grips with the new Sprite Kit framework with the help of this book.

Table of Contents

Chapter 1: Updates on iOS 7
Redesigning the iOS
New APIs
Developing games for iOS 7
Framework for game development
Knowing about Sprite Kit
Benefits of Sprite Kit
Game controller support
Game center renovations
Chapter 2: Our First Sprite Kit Project
Sprite Kit basics
Anatomy of a Sprite Kit project
Game loop
Adding a background image to our game
Moving the character with actions
Adding infinite scrolling
Adding a score label
Chapter 3: Interacting with Our Game
Handling touches
Using gesture recognizers
Physics engine
Chapter 4: Animating Sprites
What is animation?
What is a texture atlas?
Adding animations to our project
Character states
Adding shield animations
Adding a parallax background
Chapter 5: Particle Effects
Particle emitters
First particle effect
Advanced physics
Scene transitions
Chapter 6: Adding Game Controllers
Native game controllers
Game controller basics
Using a controller in our game
Handling controller notifications
Adding sound and music
Chapter 7: Publishing to the iTunes App Store
Registering as a developer
Bundle ID
Provisioning profiles
Preparing our application for the App Store
Managing applications in iTunes Connect
Life after uploading

What You Will Learn

  • Create and run your own animations
  • Utilize particle systems and create custom particle effects
  • Understand the physics engine and how to use it to your advantage
  • Add support for new game controllers from Apple
  • Optimize your game for performance
  • Use gestures to control game-play

In Detail

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.

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.

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.

This book will teach you everything you need to know to create your own powerful and immersive games.


Read More