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

Chapter 5. Enhancing Your Game with Touch Dynamics

In the previous chapter, Chapter 4, Moving Your Player with Controller Input, you learned how to capture basic input from the player and enable them to navigate the game world with both the keyboard and the OUYA controller. Methods of processing input as well as everything else you've learned in this book so far are techniques that aren't just applicable to OUYA games; game logic such as player input and cameras are present in every game, and Unity projects can be deployed to many more platforms other than Android, such as iOS, Windows, OS X, and BlackBerry. However, certain features exist exclusively in the OUYA API that you can program to make full use of the console, as you'll discover in this chapter.

One of the OUYA's unique features is the touchpad on all OUYA controllers. By default, the touchpad functions as a basic mouse cursor that can be moved around the screen by dragging a finger across the touchpad surface. This is available...