Updated to work on Unity3D 5.5.0b3
.
Unity3D tutorial implementation for a procedural 2D, tile based game.
This repository also follows some known practices for working with Unity3D projects alongside Git and Travis CI.
Before you start coding, you might need to setup a few things in your local environment first.
- Install and enable Git Large File Storage plugin (or
git lfs
for short). The.gitattributes
file will direct Git to use LFS on multimedia assets, such as*.aif
and*.png
files. - Setup UnityYAMLMerge to work with Git by appending the following to your local
.git/config
:
[merge]
tool = unityyamlmerge
[mergetool "unityyamlmerge"]
trustExitCode = false
# /Applications/Unity/Unity.app/Contents/Tools/UnityYAMLMerge on MacOSX
# C:\Program Files\Unity\Editor\Data\Tools\UnityYAMLMerge.exe on Windows
cmd = '/path/to/UnityYAMLMerge' merge -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED"
Replace
/path/to/UnityYAMLMerge
with the actual local path to the tool.
- (Optional) Configure a local Git hook to automatically remove empty directories on post-merge.
- Download latest version of Git and Git LFS
- Get latest Unity3D.
- Go follow the original tutorial.
- Download needed free assets.
MIT