Free Sample
+ Collection

Unity iOS Game Development Beginners Guide

Beginner's Guide
Gregory Pierce

Creating games for iOS can be fun and profitable. This guide takes you from first principles right through to building an actual game feature by feature and then monetizing it. No prior knowledge of Unity or iOS is required.
RRP $29.99
RRP $49.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 139781849690409
Paperback314 pages

About This Book

  • Dive straight into game development with no previous Unity or iOS experience
  • Work through the entire lifecycle of developing games for iOS
  • Add multiplayer, input controls, debugging, in app and micro payments to your game
  • Implement the different business models that will enable you to make money on iOS games

Color Images

Who This Book Is For

This book is for developers and designers who want to learn the process of building commercial game applications using Unity. It is intended for novices through to intermediate developers of all types regardless of their skill level with Unity.

Table of Contents

Chapter 1: What is Unity and why should I care?
Important preliminary points
What is Unity?
Getting a real application running on a device
Time for action – Loading a project
Time for action – Select iPhone as a target platform
Time for action – Publishing to our device
Chapter 2: Getting Up and Running
Welcome home
Time for action – Creating a new layout
Time for action – Saving a new layout
Time for action – Deploying Unity Remote
Time for action – Testing our application using Unity Remote
Chapter 3: Hello World
Composing our first scene
Start with the basics
Time for action – Creating a scene
Time for action – Creating objects in a scene
Time for action – Let there be light
Time for action – Hello "World"
Time for action – Controling the camera
Time for action – Deploying to the iOS device
Chapter 4: Unity Concepts
Basic concepts of Unity development
Time for action – Exporting asset packages
Time for action – Importing asset packages
Time for action – Adding components to Game Objects
Time for action – Positioning, Rotating, and Scaling a Game Object
Time for action – Adding audio clips
Time for action – Creating prefabs
Chapter 5: Scripting: Whose line is it anyway?
Important preliminary points
Unity Scripting Primer
Time for action – Creating and organizing scripts
Time for action – Identifying the type of iOS
Time for action – Changing state according to player location
Time for action – Rotating the screen
Time for action – Yarr! There be pirates!
Accessing the camera
Chapter 6: Our Game: Battle Cry!
Game Concept
Time for action – Project setup
Time for action – Building a game world
Chapter 7: Input: Let's Get Moving!
Input Capabilities
Implementing Joysticks
Time for action – Getting oriented
Time for action – Implementing the joysticks
Moving around
Time for action – Implementing the camera control
Time for action – Animating the player character
Importing an animation
Time for action – Importing from Mixamo
Driving our character
Time for action – Driving our character
Time for action – Getting a driver's license with Root Motion Controller
Rotation via Accelerometer
Time for action – Updating upon device tilt
Shaking the device to perform a healing action
Time for action – Detecting a shake
Chapter 8: Multimedia
Important preliminary points
Audio capabilities
Time for action – Adding ambient sounds
Time for action – Adding sounds to actions
Time for action – The sound of music
Video capabilities
Time for action – Playing embedded video
Time for action – Streaming video
Chapter 9: User Interface
Important preliminary points
Translating the design
Time for action – Creating the menu background
What just happened?
Time for action – Adding buttons to the GUI
Time for action – Prime31 UIToolkit
Chapter 10: Gameplay Scripting
Gunplay as gameplay
Time for action – Readying the weapon
Time for action – Adding a particle system
Let the animation drive
Time for action – Adding animation events
You are already dead
Time for action – Detecting collisions
Playing with (rag) dolls
Time for action – Attaching a rag doll
Chapter 11: Debugging and Optimization
Time for action – Using breakpoints
Time for action – Debugging the application
Time for action – Stepping through the game
Time for action – Fine tuning the application (Pro Versions)
Object pooling – Into the pool
Time for action – Optimizing with the object pool
Unleash the beast
Time for action – Generating Beast lightmaps
Chapter 12: Commercialization: Make 'fat loot' from your Creation
Business model generation
Time for action – Readying your app for sale
Time for action – Adding iAds
In-App purchases
Time for action – Adding In-App purchases
Time for action – Adding content to the Unity Asset Store
Measuring success with iTunes Connect
Time for action – How is our game doing?

What You Will Learn

  • Create an AppStore account.
  • Core Unity from the iOS developer’s perspective.
  • Scripting using C#.
  • Handling common iOS sensors including GPS, Camera, Accelerometer and Touch Screen.
  • Handle movies, music, and other multimedia entities.
  • Build game AI for the mobile space.
  • Optimize and debug your game for iOS devices using XCode.
  • Build a multiplayer game using Apple’s Game Center and Unity Networking.
  • Build plugins to extend Unity.
  • Add micro payments, advertisements and in app purchasing.
  • Target your audience, and make money from your creation!


In Detail

Would you like to create money making games for iOS? If so,  Unity iOS Game Development Beginners Guideis for you. It will guide you through the entire creative process of designing a game through to making money from it.

This book will teach you the secrets of building and monetizing games for the iOS platform using the latest version of Unity. The book is linear and progressive so every chapter builds upon the knowledge of the last. You will learn Unity and the iOS basics necessary to get started. You will design a game for the iOS. You will build that game feature by feature. Finally you will publish your game and add the features that will enable your game to generate revenue.

You have never built anything using Unity or iOS so we will begin with the basics. We will then move onto the basic features of a game: scenes, AI, characters, accelerometer, and input methods. Once you have mastered this we will begin the creation of our game – a 3rd person perspective dungeon crawler game inspired by the arcade game called Gauntlet. You will bring AAA quality to the game by adding co-op multiplayer so that your friends can join in and participate in the game. You will also add occlusion culling and beastmap lighting. Next you will integrate the game with some 3rd party services for advertisements, micro transactions, and in app purchasing. You will also integrate with Game Center. Finally you will publish your game for the entire world to see.


Read More

Recommended for You

Learning Unity 2D Game Development by Example
$ 26.99
Unity 4.x Game Development by Example: Beginner's Guide
$ 26.99
Mastering Unity 4 Scripting [Video]
$ 25.50
Getting Started with Unity 4 Scripting [Video]
$ 25.50