Skip to content

aws-samples/amazon-gamelift-persistent-sample

Persistent Game Server with Amazon GameLift

This sample includes how to implement persistent game server based on Amazon GameLift.

Sample game of this workshop is AgarIO which is famous Massive Multiplayer Online Action Game.
About the game, You can find detail information in here (https://en.wikipedia.org/wiki/Agar.io).

This sample game includes 2 World Server Fleets for Persistent Game service.

  • First Game World

Game Client1

  • Second Game World (Boss Included!)

Game Client2

  • Provides GameLift sample for Unity
  • Implement scalable architecture for MMO like persistent game servers.
  • Include Latest best practices for GameLift Architecture.
  • How to Run Open Game Client and run with API Gateway url. You can refer how to do in our Workshop materials

GameLift Architecture Features

Architecture

  • Design multiple queues and fleets for each world servers. (Scalable!)
  • Implement poll-based patterns for matching scalable users.

Workshop

Demo Video

Todos

  • Add other modules (Login, Game Result Handling)
  • Including Analytics
  • Add Test Tools

Installation

  • Clone this Repository To start this repository, you can Run this command for this repository to clone. Or you are able to follow Instructions from our Workshop Material

  • Install Unity MLAPI

Unity MLAPI is an open source framework that simplifies building networked games in Unity. As this library joins the Unity ecosystem, this project includes MLAPI as its Networking Library. (Official Blog) In order to run this sample, you need to import MLAPI source code / DLL in this repository.

  • Please Note : MLAPI is continuously updated for next generation of Unity Network Engine. The workshop will be updated continuously, but MLAPI compatibility issues may arise. If you are interested in using this sample code directly, I strongly recommand you to check the latest update of MLAPI.

You are able to follow one of following guide links to install MLAPI.
(1) MLAPI Installation

(2) Workshop Material

  • Install GameLift SDK You should Install GameLift SDK from our official homepage. And It should be included under "Assets" folder.

This information is also included in our Workshop Material

  • Install Through Unity Package You are able to run Unity Package to import tested source code. It will be the easiest way to import working source codes. Before you import the package, you need to install MLAPI first.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages