Skip to content

Coder Intro Part 2: Unity

Barley edited this page Oct 21, 2020 · 22 revisions

Unity

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.

(Feel free to skip ahead to the ReimuDodge tutorial if you've already got the correct version of Unity installed and know the basics)

Loading the project

1. Download Unity

To load the project, you'll need to install the version of Unity specified in ProjectVersion.txt. We recommend installing Unity Hub, which allows you to easily manage multiple versions of versions of Unity. If the version you need isn't available straight from the Hub, grab it from the download archive.

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 project explorer window in the bottom of the screen and navigating to:

/Assets/Microgames/<some microgame>/Scenes

The Unity interface can take some getting used to, but there are lots of online guides and plenty of great documentation available to help out.

Speaking of guides...

Microgame tutorial

You should now be ready to start the ReimuDodge tutorial. Good luck!

After you're done, the final part of the intro will be about submitting your code as a Pull Request