💡Getting Started

This document describes simplified steps to quickly get started creating a multiplayer game with MADNET.

Important Tip: Please make sure to backup your project before importing MADNET. While compile errors shouldn't occur, namespace conflicts could happen if your project contains other networking libraries.

AWS Setup

Please make sure you have an active AWS developer account. You will need to following:

  • DynamoDB: MADNET utilizes DynamoDB as a real-time database storing user connections.

  • AWS Lambda: To execute code for data entry lookup and modification into DynamoDB and bridge communication between Unity code and AWS Backend.

  • APIGateway: Used for establishing connection and and invoke from Unity.

Unity Setup

  1. Open up any example scene located inside MADNetworking/Examples

  2. Put your AWS APIGateway websocket connect url into field in NetworkManager

  3. Select your initialization option (auto start or by calling) NetworkManager.Instance.StartManager()

  4. Play around with example Rock Paper Scissors game or view NetworkTransform example and NetworkBehavior example

Youtube Example

Last updated