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 – making your first commit and push


Now that you're signed up for BitBucket, you've got an empty repository just waiting for some code. We'll use our marble game files to demonstrate how to upload a project; the steps to do so are as follows:

  1. Click-and-drag the entire project directory from its original location to the directory you created for your repository.

  2. Open the Git command line and use the cd command to navigate to your repository's directory.

    As it's the first time we're uploading our project to the repository, we'll want to add every single file with Git. Fortunately, there's a command for that.

  3. Enter the following command in your Git command line to add all the files:

    git add --all
    

    This will add changes to all the tracked and untracked files. In the case of projects being added to a repository for the first time, all files are considered to be untracked.

    Tip

    A tracked file means a file that has already been recognized by Git as part of the working repository, while...