Description
Part 3 of this series details how to integrate with the Amazon SDKs in your Unity project to communicate with the GameLift servers. It demonstrates that clients can join a game session and send and receive messages based on player actions.
You can watch
Part Two here
Part One here
References
- [Mega Frog Race Tutorial - loosely followed]
https://aws.amazon.com/blogs/gametech/creating-servers-for-multiplayer-mobile-games-with-amazon-gamelift/ - [Mega Frog Race reference code for connecting to GameLift]
https://github.com/aws-samples/megafrograce-gamelift-realtime-servers-sample/blob/master/MegaFrogRace/Assets/Scripts/RTSClient.cs#L253 - [Supporting classes and scripts for this video]
https://gist.github.com/BatteryAcid/48d3078dcec1f286a75323936cf503b0 - [Example RealtimeClient.cs - original source]
https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-client.html - [Alternative Amazon SDKs Download]
https://aws.amazon.com/blogs/developer/referencing-the-aws-sdk-for-net-standard-2-0-from-unity-xamarin-or-uwp/ - [Realtime client API reference in Unity]
https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-sdk-csharp-ref-actions.html - [Realtime servers interface reference]
https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-script-objects.html - [Realtime server callbacks reference]
https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-script-callbacks.html - [Original realTimeServerScript.js from Amazon]
https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-script.html - [Finding a UDP port sources]
https://stackoverflow.com/a/49408267/1956540 (with a change to UDP)
https://docs.microsoft.com/en-us/dotnet/framework/network-programming/how-to-create-a-socket - [Zenject]
https://github.com/modesttree/Zenject