Unity for teens!

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Heyo, my friend! Did you like videogames?

Sure you like, because you've played anyone! My name is Raphael, but you can call me as Pacific Wolf instead. Are you excited to build your first PC Game?

Unity is a platform for developing games for Windows, MacOS, Linux and even Android and IOS. Only for reference I could use my Macbook. This is because my PC is with my brother... : /

Installing Unity[edit | edit source]

To install Unity, first visit Unity Website and clicking on the button Get Started. Install for MacOS for who use Macbooks or for Windows who use a Windows Computer.

Let's focus on creating a really simple project: the Coin game.

Coin Game[edit | edit source]

The coin game is a classic from Unity! It consists of one cube, 10 coins and, sure, a floor.

Preparation:

Open Unity, then create 3 Object(s):

  • A floor;
  • A player;
  • Ten coins.

When you have created every object listed, let's finish the rest of this project!

Steps:

Create three materials at the Project window: Green, Orange and Purple.

Apply the green material at the floor. Apply the orange material at the player. Apply the purple material at the coin.

Script:

 //no script at the moment...
 //Please download the scripts at the Asset Store.