A downloadable game


Before you begin:

This set up is essential for developing a game with Unity and it may take awhile (up to a few hours for some), so make sure you have a few hours of uninterrupted internet connection.

Each Unity version is a bit different and the game we are making was developed with v. 2019.4.4f1. It is recommended to work with the same version I used to avoid problems. 

Please read through this set up tutorial first  and then follow these steps to download and install all the needed components.

1. Download and install Unity Hub

Go to this link for the download file suited to your operation system.

https://unity.com/download

2. Create Unity ID

Follow this tutorial to create your own Unity account ID

 https://docs.unity.com/ugs-overview/manual/creating-unity-ids

3. Download and install Unity

Choose version: 2019.4.4f1 (will appear as 2019.4.4) from this link and click install with Unity Hub. https://unity.com/releases/editor/archive

When prompted to choose which components to install make sure the Windows build support check box is checked. (this is the target platform for our game).  You can add other platforms if you like but it is not necessary for this workshop.

If you are using windows and you don't have Visual Studio installed, make sure you also check the box for Visual Studio.
There is no need to download the documentation as everything can be found in the Unity Scripting API Manuals online.

4. Download IDE (for non-windows users)

For non windows users it is recommended to download Rider.

Both Visual Studio and Rider can work seamlessly with Unity.

Other IDEs, like VSCode or VIM are NOT recommended as they are not suited for working with a game engine.

If you insist on using a different IDE (because this is still a free country) please make sure it is (a) a tested environment for .net development and (b) able to communicate with Unity engine and you have instructions how to wire your IDE with Unity

5. Attach IDE to Unity

In order to code and debug properly with an IDE you should first make sure the programs are linked to each other.

Open a new Unity project and go to Edit> preferences > external Tools and in the "external script editor" drop down menu choose your installed IDE. This step can wait for the workshop in case you don't want to open a Unity project at home.

6. In case you want to use git for a Unity project

There is a git ignore template for Unity projects. When starting a new repository, look for the Unity template in the drop down menu. The template assumes the root folder is the project folder. This can be changed by opening the file and deleting the [/] signs (in case your project is a child of the root folder, for instance).

7. Using git LFS with Unity

A game project is comprised of mostly large binary files and the best way to  save time  and storage is to use git's Large File System. Here is a video that takes you step by step through opening a new Unity project and installing git LFS. However, for this game alone it is probably not needed, especially if you are not collaborating with another developer.

Leave a comment

Log in with itch.io to leave a comment.