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 – creating and scripting 3D text


To demonstrate basic object properties in Unity, we'll create a 3D text object, which is a kind of game object that displays a string of text at a point in 3D space. The positions of all game objects are specified in X, Y, and Z coordinates, and each coordinate can be changed individually in the Inspector window. Now, perform the following steps:

  1. Open the Create menu and select 3D Text to create a New Text object.

  2. Use the Inspector window to position it at 0, 5, and 0, and then set the Anchor dropdown to middle center and the Alignment dropdown to center.

    This puts your text directly in the center of the scene, elevated above the plane. The default text is Hello World, which is a common filler phase that developers enter when they are first testing text and display. This can be changed to any text you enter in the Inspector window under the Text Mesh pane.

    Tip

    Every object inspector window is an aggregation of all the object's components, which...