Skip to content

zhejimanyu/aimmo-unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI:MMO Unity

This is the Unity project that will be used to create and display the game view in AI:MMO, the new game by Code for Life.

Main Scene GIF

Getting started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Right now we only support Unity 2018.1.1f1. Download your Unity software using Unity Hub.

You will also need a text editor. The most popular ones for Unity are MonoDevelop and Visual Studio.

Now open your terminal. You can use the following shortcuts:

  • Ubuntu - CTRL + ALT + T
  • Mac - CMD + SPACE to open spotlight search; then type in "terminal", hit return.

In the terminal type: git clone https://github.com/ocadotechnology/aimmo-unity.git

And authenticate using your username and password token.

Setting up the project

Start Unity, click on Open and select the UnityProject directory, not the whole repository. Now you should be able to:

  • Connect to the back-end. How?
  • Use the level builder. How?
  • Run the tests. How?

Project structure

To understand better the different parts of the project it is important to understand the file structure. The core is:

aimmo-unity
  └───Scripts
  └───UnityProject
        └───Assets
              └───Scripts
              └───Scenes
              └───Resources
              └───Editor
                    └───LevelBuilder
                    └───UnityTestTools
                    └───Tests

From top to bottom:

  • Scripts has the TravisCI scripts.
  • UnityProject/Assets/Scripts has all the logic to connect to the back-end and display the scene. See the wiki for more details.
  • UnityProject/Assets/Scenes contains both the main scene and the levels.
  • UnityProject/Assets/Resources is where all the sprites go.
  • UnityProject/Assets/Editor/LevelBuilder has the core of the level builder editor tool. See the wiki for more details.
  • UnityProject/Assets/Editor/UnityTestTools is the library used for unit testing.
  • UnityProject/Assets/Editor/Tests has all the tests. See the wiki for more details.

Contributing

Please read CONTRIBUTING.md for details on the process for submitting pull requests to us.

Contact Us

If you ever need to contact us, please do so via our contact form on the Code For Life website. You can click this link to do so.

About

AI:MMO's front-end now in Unity3D.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 97.4%
  • Other 2.6%