Skip to content
Brendan Walker edited this page Jul 1, 2014 · 1 revision

How do I build and run this game?

Initial Build

  1. Make sure the the paths are set up correctly in scripts\build\build_constants.bat
  • DOT_NET_FRAMEWORK should point to a .NET 3.5 framework install (needed for server build)
  • UNITY_ROOT should point at the Unity install
  1. Run scripts\build\build_server_debug.bat
  • This builds the server DLLs that the Unity client is dependant on
  1. Launch the AsyncRPG.unity project in src\unityClient\Assets
  • This will do an initial import of the assets the client depends on
  1. Close the Unity editor once it's done importing
  2. Run the build_unity_client.bat in the scipts\build folder
  • This generates the game client in the build\client folder

Building the Server

Do either of the following:

  • Build the src\server\AsyncRPGServer.sln in Visual Studio
  • Run scripts\build\build_server_debug.bat

Building the Client

Make sure to build the server at lease once, then do either of the following:

  • Open and build src\unityClient\Assets\AsyncRPG.unity
    • Need to do this at least once to import assets
  • Run scripts\build\build_unity_client.bat

Building ALL THE THINGS!

If you have followed the initial build steps, then:

  • Run scripts\build\rebuild_all_debug.bat script

High Level

Folder Organization

Game Design

Game Objective

Player Classes

Enemy Types

Loot

Web Server Documentation

Server Project Organization - How the files in the server project are arranged

Mob Types - Format for the mob type definitions

Room Templates - How the room templates are validated and stored in the DB

Navigation - How AI navigation is computed on the server

AI Decision Making - How AIs make decisions in response to players moves

Request Processors - How incoming JSON requests are processed

Database Query Layer - How database queries are structured and cached

Standalone And Embedded Web Server - How the stand alone and client embedded web server are structured

ASPX Web Service - How the IIS hosted web server is structured

Unity Client Documentation

Client Project Organization - How the files in the client project are arranged

UI System - Wrapper around Unity immediate mode UI and UI event handling

Asynchronous Request System - How JSON requests are sent to the web server

Game Event System - How the game state changes as a result of player actions

AI Path Finding and Steering - How the AI compute a path and drive toward path waypoints

IRC and Push Notifications - How chat and server push notifications are routed through IRC

Tools Documentation

OGMO Tile Editor

Verification Scripts

Build Scripts

Clone this wiki locally