This sample project demonstrates deploying an Amazon API Gateway WebSocket API and building a Unity WebSocket Client component.
- AWS Cloud Development Kit (AWS CDK) project that deploys an authenticated Amazon API Gateway WebSocket API.
Reference architecture for the WebSocket API
- A Unity project that includes a WebSocket Client and an example of WebSocket message crafting and parsing for tag-like gameplay.
The left and right sides are separate instances of the WebSocket Tag game, each connected to the API Gateway WebSocket API. The player actions are passed via WebSocket messages.
- Start with setting up the WebSocket API infrastructure: AWS Setup
- Confirm you have the
aws-config.json
file from the configuration storage bucket. - Lastly we will setup the application: Unity Setup
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.