Skip to content

Coder Intro Part 2: Unity

Barley edited this page Oct 15, 2017 · 22 revisions

(Feel free to skip ahead if you've already got Unity installed and know the basics)

Loading up the project

This part should be fairly straight-forward. If you've skipped ahead from the Git intro then here's a quick checklist of where you should be:

You should have

  • forked the https://github.com/NitorInc/NitoriWare repository.
  • made a clone of this fork somewhere easy to access on your computer.
  • created a new branch called "Microgame/ReimuDodge/basic-functionality" which is set up to push commits to your GitHub fork.

1. Download Unity

Now, if you haven't already, you can download and install Unity 5.6.3 (any 5.6 version should do) from this link. Make sure you don't get Unity 2017 since our project isn't yet compatible with it.

2. Load the project

Once you start Unity you will be able to select "Open" and navigate to your clone of NitoriWare.

The first time you open the project you will need to wait a long time for Unity to import all of the assets. Once its loaded you'll be able to browse the contents of the project and open up scenes. Try opening one of the microgame scenes using the file explorer in the bottom and navigating to:

/Assets/Resources/Microgames/<some microgame>/Scenes

Unity tutorials

The Unity interface can take some getting used to, but there are lots of Unity tutorials online and plenty of great documentation for when you get stuck. If you have time, take a look at what is available: https://unity3d.com/learn

Since our game is 2D, you can ignore most of the 3D tutorials. Although, many of the ideas are the same and the most important thing is being able to use the C# scripting API.

Finally, don't forget to ask questions if you get stuck. You don't need to be an expert programmer to use Unity as long as you know where to look for help.

In part 3 you'll start the practice microgame tutorial.

Clone this wiki locally