PacktLib: Unity iOS Game Development Beginners Guide

Unity iOS Game Development Beginner's Guide

Credits

About the Author

About the Reviewers

www.PacktPub.com

PacktLib.PacktPub.com

Preface

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

Summary

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

Summary

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

Summary

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

Summary

Scripting: Whose line is it anyway?

Important preliminary points

Unity Scripting Primer

Time for action – Creating and organizing scripts

iPhoneSettings

Time for action – Identifying the type of iOS

Time for action – Changing state according to player location

Time for action – Rotating the screen

iPhoneUtils

Time for action – Yarr! There be pirates!

Accessing the camera

Summary

Our Game: Battle Cry!

Game Concept

Time for action – Project setup

Time for action – Building a game world

Summary

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

Summary

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

Summary

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

Summary

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

Summary

Debugging and Optimization

Debugging

Time for action – Using breakpoints

Time for action – Debugging the application

Time for action – Stepping through the game

Profiling

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

Summary

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?

Summary

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Index