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

Time for action – creating a tutorial scene

Perform the following steps to create a tutorial scene:

  1. Create a new scene called TutorialScreen in your RollingMarble project.

  2. Create a cube primitive and position it at 0, 0, 0.

  3. Scale the cube to 10, 1, 10 so that it's a large enough surface for the player to roll around on.

  4. Change the Y value of the Main Camera to 5 so that it can give the player an elevated view that's easier to observe the marble with.

    Your scene should now look something like the following screenshot in the Scene window:

  5. We don't want our player to be able to fall off the level and lose on the tutorial screen, so create four cube primitives and scale them into walls for the platform as shown:

  6. The scene looks very dark in the camera preview. Add Directional Light by navigating to Hierarchy| Create menu with default settings.

  7. Click-and-drag an instance of your Marble prefab from the Project window onto the new platform in your scene.

    As you stored all of the properties of the marble...