Book Image

OUYA Game Development by Example

By : John Donovan
Book Image

OUYA Game Development by Example

By: John Donovan

Overview of this book

The OUYA console and development kit gives you the power to publish video games for the players, creating a console marketplace of the gamers, for the gamers, and by the gamers. Using the OUYA developer kit and the Unity3D game engine, even beginners with a captivating game idea can bring it to life with a hint of imagination. OUYA Game Development by Example uses a series of feature-based, step-by-step tutorials that teach beginners how to integrate essential elements into a game engine and then combine them to form a polished gaming experience.
Table of Contents (18 chapters)
OUYA Game Development by Example Beginner's Guide
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – movement with the OUYA SDK


Now that you've got a good grasp on Unity input, let's program some OUYA-specific code so that we can see how it feels on the console. To do this, we'll need to import the OUYA input settings, which is part of the OUYA Core Package that we extracted in Chapter 2, Installing Unity and the OUYA ODK. Locate this package or refer to the chapter to re-extract it and import it into your current project by double-clicking on it or importing it as a custom package in the Assets menu along the top toolbar.

Tip

Take a moment to open your Input settings in the Project Settings submenu under Edit on the top toolbar. Expand the Axes list in the Inspector menu and observe how the defined inputs have changed since importing the OUYA SDK Core Package; now there are several more defined inputs for joysticks and separate input channels for up to four controllers at once.

Before we add in OUYA controls, we need to think about how we'll be testing the game. Once our...