You are previewing Learn Unity 4 for iOS Game Development.
O'Reilly logo
Learn Unity 4 for iOS Game Development

Book Description

Unity is an incredibly powerful and popular game creation tool, and Unity 4 brings even more great features, including Mechanim animation. Learn Unity 4 for iOS Game Development will show you how to use Unity with Xcode to create fun, imaginative 3D games for iPhone, iPad, and iPod touch. You'll learn how to optimize your game for both speed and quality, how to test and profile your game, and how to get the most out of your iOS device features, including the gyroscope and accelerometer.

You'll also learn how to incorporate the latest Game Center improvements in iOS 6 into your game, how to make sure your game gets into the App Store, and even how to promote your app and track revenue.

If you have a great 3D game idea, and you want to make it a reality in the App Store, then Learn Unity 4 for iOS Game Development has exactly what you need.

What you'll learn

  • How to build, debug and test a Unity iOS game

  • How to include iAds

  • How to integrate Game Center leaderboards and achievements

  • How to process touch, accelerometer and gyroscope input

  • How to profile and optimize performance

  • How to promote your app and track its revenue

Who this book is for

iOS developers interested in using Unity and Unity developers who want to customize their games for iOS devices.

Table of Contents

  1. Title Page
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Introduction
  9. Chapter 1: Getting Started
    1. Prerequisites
    2. Install Unity
    3. Manage Unity
    4. Explore Further
  10. Chapter 2: A Unity Tour
    1. Bring out the Angry Bots
    2. The Editor Layout
    3. The Inspector View
    4. The Project View
    5. The Hierarchy View
    6. The Scene View
    7. The Game View
    8. The Console View
    9. Explore Further
  11. Chapter 3: Making a Scene
    1. Create a New Project
    2. The Main Camera
    3. Add a Cube to the Scene
    4. Camera Control
    5. Add a Light
    6. Add a Skybox
    7. Add a Flare
    8. Textures
    9. Explore Further
  12. Chapter 4: Making It Move: Scripting the Cube
    1. Organize the Assets
    2. Create the Script
    3. Debug the Script
    4. Make It Rotate
    5. Children of the Cube
    6. Explore Further
  13. Chapter 5: Let’s Dance! Animation and Sound
    1. Import the Skeletons Pack
    2. Add a Skeleton
    3. Hide the Cubes
    4. Orbit the Skeleton
    5. Make the Skeleton Dance
    6. Make the Skeleton Dance Forever
    7. Watch the Hips
    8. Add a Dance Floor
    9. Add a Shadow (Pro)
    10. Add Music
      1. Explore Further
  14. Chapter 6: Let’s Roll! Physics and Controls
    1. Make a New Scene
    2. Make a Ball
    3. Customize Collision
    4. Make It Roll
    5. Be the Ball
    6. Explore Further
  15. Chapter 7: Let’s Bowl! Advanced Physics
    1. Lengthen the Lane
    2. Make Some Pins
    3. Keep Playing
    4. Bowling for Barrels
    5. Add Sounds
    6. Explore Further
  16. Chapter 8: Let’s Play! Scripting the Game
    1. The Game Rules
    2. Scoring the Game
    3. The Pin Status
    4. The Game Logic
    5. Explore Further
  17. Chapter 9: The Game GUI
    1. The Scoreboard
    2. The Pause Menu
      1. Automatic Layout
    3. The Main Page
    4. The Credits Page
    5. The Options Page
    6. The Audio Panel
    7. The Graphics Panel
    8. The System Panel
    9. Explore Further
  18. Chapter 10: Using Unity iOS
    1. Bring Back the Angry Bots
    2. Test with the Unity Remote
    3. Install Xcode
    4. Customize the Player Settings
    5. Test with the iOS Simulator
    6. Explore Further
  19. Chapter 11: Building for Real: Device Testing and App Submission
    1. Register as an iOS Developer
    2. The Provisioning Portal
    3. The Xcode Organizer
    4. Build and Run
    5. Prepare App Store Graphics
    6. Add an App on iTunes Connect
    7. Explore Further
  20. Chapter 12: Presentation: Screens and Icons
    1. Bowling for iOS
    2. Scale the GUI
    3. Set the Icon
    4. Set the Splash Screen (Pro)
    5. A Second Splash Screen
    6. Display the Activity Indicator
    7. Script the Activity Indicator
    8. Explore Further
  21. Chapter 13: Handling Device Input
    1. The Touch Screen
    2. The Accelerometer
    3. The Camera
    4. Explore Further
  22. Chapter 14: Game Center: Leaderboards and Achievements
    1. Set Up Game Center on iTunes Connect
    2. Add a Leaderboard
    3. Set Up Achievements
    4. Integrating Game Center
    5. Integrate the Game
    6. Test the Game
    7. Explore Further
  23. Chapter 15: iAd: Banner Ads and Interstitial Ads
    1. iTunes Connect
    2. Add a Banner Ad
    3. Add an Interstitial Ad
    4. Track Ad Revenues
    5. Explore Further
  24. Chapter 16: Optimization
    1. Choose Your Target
    2. Profile
    3. Optimize Settings
    4. Optimizing GameObjects
    5. Optimize Assets
    6. Optimize Scripts
    7. Optimize Offline
    8. Final Profile
    9. Explore Further
  25. Chapter 17: Where to Go from Here?
    1. More Scripting
    2. Tracking Apps
    3. Promo Codes
    4. More Monetization
    5. Final Words
  26. Index