OUYA Game Development by Example
上QQ阅读APP看书,第一时间看更新

Chapter 3. Diving into Development

In the last two chapters, you familiarized yourself with the Unity development environment and had a taste of what you can create for the OUYA. Now it's time for the fun part: creating code that turns your ideas into mechanics. In this chapter, you'll create your first functioning prototype and write some basic code to see action on the screen. In doing this, you'll cover basic gameplay scripting techniques and some introductory programming in the C# language. We'll also look at the tools provided to us in the Unity API.

Specifically, we'll cover the following topics:

  • Setting up a scene in Unity
  • Navigating the scene in your workspace
  • Lighting and cameras
  • Adding scripts to objects

If you're already familiar with Unity and the fundamentals of scripting in C#, feel free to advance to the next chapter; nothing in this chapter is built upon in future chapters, it's only for getting you up to speed with the basic tools we'll be using.