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

Getting Started with OUYA

Book Description

A practical guide to developing games for the revolutionary OUYA console

In Detail

The OUYA console is a fully customizable open source indie console, which is based on the Android operating system and equipped with the powerful Tegra 3 graphics processor. It provides unprecedented levels of performance for an open source console, and is a new open platform for game developers, offering them the freedom to build and publish games on their own.

This book is a practical guide that will help you learn more about the OUYA console. From setting up a developer account to developing your first game, right up to publishing your game on the OUYA marketplace, this book guides you through the whole process of OUYA game development. You will also learn how to configure the OUYA development environment, including the OUYA Development Kit, emulators, and Unity3D. OUYA Game Development Essentials provides users with the basics of developing games for the console, and also gives them a glimpse into what the future has in store for the platform.

What You Will Learn

  • Get to know about the origins of the OUYA console and its technical specifications
  • Set up and configure the prerequisites needed to prepare the OUYA development environment.
  • Set up two controllers, data storage, graphical optimization models, and textures
  • Install the OUYA SDK (ODK) and the entire development environment (including the emulator and Unity3D)
  • Configure the controls for your OUYA console
  • Learn more about the business models commonly used on OUYA, and get an introduction to the ways you can monetize your games
  • Get a glimpse into the future of the console, including new periphrals, new interfaces, and new display devices

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. OUYA Game Development Essentials
    1. Table of Contents
    2. OUYA Game Development Essentials
    3. Credits
    4. About the Authors
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. 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. Downloading the color images of this book
        3. Errata
        4. Piracy
        5. Questions
    8. 1. Why OUYA?
      1. Technical specifications
        1. Hardware
        2. Controller
        3. Software
      2. OUYA is more than a console – it's a business model
      3. OUYA – content restrictions
      4. Marks or branding
      5. Content scope, applications, and social networks
        1. XBMC
        2. TwitchTV
        3. Onlive
        4. VEVO
        5. PLEX
        6. Crunchyroll
      6. Development tools to build video games for OUYA
        1. Adobe Air
        2. Android SDK/NDK (Java or C language)
        3. Corona
        4. GameMaker
        5. MonoGame
        6. Unity3D
      7. Summary
    9. 2. Setup Prerequisites
      1. Installing the Java Runtime
      2. Installing the Android SDK
      3. Installing the Android NDK
      4. Installing and configuring Eclipse
      5. Installing Unity3D
      6. Configuring the Android SDK in Unity3D
      7. Summary
    10. 3. Setup Instructions for the OUYA ODK
      1. Creating an OUYA account
      2. Installing the console
      3. Downloading the ODK files
      4. Setting up the ODK in Windows and Mac OS
        1. For Mac OS
        2. For Windows
          1. Disabling Windows 8 driver signature verification
      5. The OUYA emulator (Virtual Device) configuration
      6. Executing the OUYA emulator
      7. Summary
    11. 4. Guidelines for Setting Up the OUYA ODK
      1. Starting with the OUYA Development Kit
      2. The ODK plugin within Unity3D
        1. Importing the ODK plugin within Unity3D
        2. Installing and configuring the ODK plugin
      3. Installing and configuring the Java class
      4. Identifying the user
      5. Starter kit – examples
      6. Common errors while working with OUYA
        1. Errors with the emulator
        2. Errors with Eclipse
        3. Errors with the ADB connection USB
        4. Errors in the OUYA panel
      7. Summary
    12. 5. Configuring the Controllers
      1. Setting the controls
      2. Creating the first scene of the game
      3. Assigning the OUYA controls
        1. The menu or system button
      4. Differences between an analog joystick and a touchpad
      5. Testing changes in the state of the button
      6. Compiling and executing the game
      7. Summary
    13. 6. The OUYA Marketplace
      1. Update your user profile
      2. Configuring the items of purchase
      3. Creating a game in the OUYA store
        1. Creating the Key.der file
      4. Programming access to the marketplace
      5. A general guide to OUYA game content
        1. Build settings
      6. Testing the project with the emulator
      7. Summary
    14. 7. Advanced OUYA Functions – Graphics and Controls
      1. Understanding shaders
      2. Types of shader processors
        1. The CG programming language for Nvidia Tegra 3
        2. Characteristics of the Tegra 3 processor
        3. Lighting
          1. Multiple controls
      3. Common problems
        1. Controller always pairing as the second controller
        2. The second OUYA controller paired as the third controller
      4. Summary
    15. 8. The Future
      1. Virtual reality – using Oculus Rift
      2. Arduino – the peripheral interface
      3. Leap Motion
      4. Nuidroid – 3D recognition for OUYA
      5. OUYA – the Free the Games Fund campaign
      6. Summary
    16. Index