by mike tsouris
The Unity application uses these free / open resources.
- SignalR Client The MIT License (MIT) https://github.com/jenyayel/SignalR.Client.20
- Newtonsoft Json.NET The MIT License (MIT) https://www.nuget.org/packages/Newtonsoft.Json/
- TurboSquid Models ( some models in the game ) Royalty Free License https://support.turbosquid.com/entries/31030006-Royalty-Free-License?locale=1
You need these tools to get started: [all free!!!]
- Unity 3D Game Engine (v5+)
- Visual Studio 2015 Community Edition
- SQL Server 2015 Express
- Redis ( Just need the binaries, easy to get from NuGet )
- MongoDB
- IIS
-
Set up SQL Server Database
- assuming local SQL instance is available through localhost
- Run the script located in \Setup\Database\schema_MSSQL.sql
- that should be it!
-
Set up local Redis Service to be available through localhost
- Google it
-
Set up local MongoDB service to be available through localhost
- Google it
-
Build the server project
- The solution should build just fine. If you have problems, make sure that NuGet downloaded all the needed libraries
-
Configure IIS to serve the project directory through "localhost"
- AppPool : integrated / 4.0
- Port : 80
-
Install Unity 3D
-
The Hosts File : There is a simple configuration file that is NOT already in place. You need to copy the file from "\Setup\Sample Hosts File\hosts.txt" and put it in: "\Game\Assets\Resources\hosts.txt"
If you use a host name other than "localhost", you can update the hosts file for the environment you want.
-
Open project with Unity3D
-
Open the scene : \Game\Assets\Scene\Main.unity
-
Run the game!