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
About the Author
About the Reviewers


In this chapter, you built a unique collectible game object using primitives and basic materials, saved it to a prefab, and made its instantiations collectible and savable.

You collected coins by calling Unity's GetComponent function from the coin's script to access a collection script on the player. GetComponent is an extremely useful tool in the Unity engine that allows for substantial communications between two unrelated game objects, so get used to using it.

Finally, you scripted a system that counts the number of coins collected from each play session and adds them to a running total that's loaded every time the game starts. Incorporating save data into your game is essential to expanding your game's scope as it allows you to potentially develop a narrative and skill progression over several sessions rather than giving the player a short, one-shot repetitive experience such as Solitaire.

Next, we'll expand your game further by creating unlockable content that can be purchased by...