You are previewing Mobile Game Development with Unity.
O'Reilly logo
Mobile Game Development with Unity

Book Description

Learn how to build games that work on several mobile devices, including phones and tablets powered by iOS, Android, and Blackberry. This practical book shows you how to get started with the Unity game development ecosystem for creating beautiful, interactive 3D and 2D content on any mobile platform.

Table of Contents

  1. Preface
    1. Resources used in this book
    2. Audience and Approach
    3. Organization of This Book
    4. Conventions Used in This Book
    5. Using Code Examples
    6. Safari® Books Online
    7. How to Contact Us
    8. Acknowledgments
  2. I. Hello, Unity
  3. 1. Introducing Unity
    1. Unity is a game engine
    2. Unity is good at multiple things
    3. Unity is also not so good at some things
    4. Unity is available for free
    5. Unity has a large community
    6. Installing Unity
    7. Working with the Interface
      1. Unity is organised into tabs
      2. The tool bar
      3. The scene view
      4. The game view
      5. The project view
      6. The hierarchy view
      7. The inspector view
      8. Finding and selecting game objects
      9. Moving, rotating and scaling
      10. Building the game
  4. II. The 2D Game
  5. 2. A Gnome on a Rope
    1. Game Design
    2. Creating the project and importing assets
    3. Creating the Gnome
    4. Rope
  6. 3. The Game Manager
    1. Input
      1. Adding tilt control
      2. Controlling the rope
      3. Making the camera follow the gnome
    2. Setting up the Gnome’s code
    3. Setting up the Game Manager
  7. 4. The Gameplay
    1. Simple traps
    2. Treasure and Exit
      1. Creating the exit
    3. Adding a background
    4. Wrapping Up
  8. 5. Polishing the Game
    1. Updating the Gnome’s art
    2. Background
      1. Layers
      2. Creating the backgrounds
      3. Different Backgrounds
      4. The bottom of the well
      5. Updating the camera
    3. User Interface
    4. Invincibility mode
    5. More Traps and Level Objects
      1. Spikes
      2. Spinning Blade
      3. Blocks
    6. Particle Effects
    7. Main Menu
      1. Scene Loading
    8. Audio
    9. Wrapping up and challenges
  9. III. The 3D Space Shooter
  10. 6. Getting Started
    1. Designing the game
    2. Game Design
    3. Architecture
    4. Creating the scene
      1. Ship
      2. Space station
      3. Skybox
      4. Canvas
    5. Input
      1. Adding the Joystick
      2. The Input Manager
    6. Flight control
      1. Indicators
      2. Indicator manager
  11. 7. Gameplay
    1. Weapons
      1. Ship Weapons
      2. Fire button
    2. Target Reticle
    3. Asteroids
      1. Asteroid spawner
    4. Damage-dealing and taking
      1. Explosions
  12. 8. Polishing the game
    1. Menus
      1. Main Menu
      2. Paused screen
      3. Game Over screen
      4. Adding a pause button
    2. Game manager and death
      1. Start points
      2. Creating the game manager
    3. Boundaries
      1. Creating the UI
      2. Coding the boundary
    4. Improving the look and feel
      1. The space station
      2. The spaceship
      3. Asteroids
      4. Audio
      5. Explosion
  13. Index