💡Getting Started
This document describes simplified steps to quickly get started creating a multiplayer game with MADNET.
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.
MADNET utilizes WebSocket API serverless foundation for Lambda. This page will mainly document process for setting up in Unity, for more information, please checkout the repository containing AWS Lambda Functions.cs.
Unity Setup
Open up any example scene located inside MADNetworking/Examples
Put your AWS APIGateway websocket connect url into field in
NetworkManager
Select your initialization option (auto start or by calling)
NetworkManager.Instance.StartManager()
Play around with example Rock Paper Scissors game or view
NetworkTransform
example andNetworkBehavior
example
Youtube Example
Last updated