O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ouya Unity Game Development

Book Description

Understanding Unity means you can quickly get the know-how to develop games for the Android-based Ouya console. This is the guide that will take you all the way from setting up the software to monetizing your games.

  • Learn how to create and polish your game, and then monetize it with in-app purchases
  • Discover what’s required to make your game run on Android phones and tablets
  • A step-by-step guide that will teach you how to build a fun, challenging game from scratch

In Detail

Ouya is a microconsole running its own version of the Android operating system. The console features an exclusive Ouya store for applications and games designed specifically for the Ouya platform. It runs a modified version of Android 4.1 Jellybean, and is open to rooting without voiding the warranty. All systems can be used as development kits which allow any Ouya owner to be a developer without any licensing fee. Ouya Unity Game Development offers detailed, easy-to-follow, step-by-step instructions which will help you learn the ins and outs of Ouya development in Unity.

From connecting your device with Android Debug Bridge to publishing it on the Ouya Developer Portal, this book will explain the processes involved in creating a game from scratch. As you progress through the book, you will learn about scenes, prefabs, sounds, models, and animations. By the end of the seventh chapter, you will have a 3D game with multiple levels, the possibility of in-app purchases, and controller support that runs on both the Ouya and an Android phone.

Starting with an introduction to Ouya, you will learn how to set up an environment and render game levels on Ouya. You will learn how to change levels and how to save the current level. You will then dive into Ouya controller integration and character animation. This book will also teach you the workings of audio source components, and will show you how to add textures to prefabs. Finally, you will learn how you can monetize the game. By the end of this book, you will have the game running on Ouya and geared up to create games on your own.

Table of Contents

  1. Ouya Unity Game Development
    1. Table of Contents
    2. Ouya Unity Game Development
    3. Credits
    4. About the Author
    5. Acknowledgment
    6. About the Reviewers
    7. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    8. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    9. 1. What Is Ouya and Why Does It Matter?
      1. The early years
      2. The crash
      3. The recovery
      4. Home computers
      5. Advancement of game consoles
      6. The first indie console
      7. Cellular games
      8. The iPhone
      9. The competitors
      10. Current day situation
      11. History of Ouya
      12. Ouya's release
      13. Summary
    10. 2. Setting Up Unity and the Ouya Plugin
      1. Installing the Android SDK
      2. Installing Java
      3. Setting up the Android SDK
      4. Setting up the Android NDK
      5. Connecting Ouya to your Windows computer
      6. Connecting Ouya to your Mac computer
      7. Ouya Development Kit
      8. The Unity project
        1. The bundle identifier
        2. Setting up Ouya Panel
        3. Ouya required prefabs
        4. Building, running, and compiling an application
      9. Summary
    11. 3. Setting Up Your Game
      1. Boo, C#, or UnityScript
        1. Boo
        2. UnityScript
        3. C#
      2. The project structure
      3. Setting up your Scenes
      4. Scripts and MonoDevelop
      5. Scene progression
        1. The title screen menu
        2. Advancing to the game
        3. Ouya controller support
      6. Creating the level
        1. Prefabs
          1. Creating a Prefab
        2. Materials
        3. Multidimensional arrays
        4. The BuildLevel method
      7. Summary
    12. 4. Adding a Character and Making Them Move
      1. Making the camera move
      2. Making the character move
        1. Ouya controller support
        2. Animating the character
      3. Summary
    13. 5. Adding Finesse to Your Game
      1. Texturing your Prefabs
      2. Adding a background
      3. Adding extra levels
      4. Level complete detection
        1. Moving to the next level
        2. Restarting our level
      5. Adding sounds
      6. Summary
    14. 6. Show Me the Money!
      1. Setting up your purchase
      2. Setting up your game
      3. Implementing the Ouya payment framework
        1. How to manage your purchases
        2. Getting the list of products
        3. Limiting your levels
        4. Unlocking levels for people who have paid
        5. Buying your product
          1. Adding a new menu item
          2. The buy method
          3. Hiding menu items
      4. Submitting your game
      5. Summary
    15. 7. Building Cross-platform Games
      1. Platform Dependent Compilation
        1. Changing the TitleScreen scene
      2. Removing In-App Purchases
      3. Mobile controls
      4. Summary
    16. Index