1 個回答
- 最新
- 最多得票
- 最多評論
0
GameLift doesn't have a notion of client -> client communication, it 'enables' some of this by bringing a group of players to a common server and the server can then facilitate chat between the connected players.
You'd probably need to look at some form of:
- Player/Identity management: Players are registered when then first come into your game. Tracks which client is which identity (and links identities you use to some common based identity)
- Presence: Tracks if players are active/online.
- Notification/Communicator: Allows direct client->client communication (can route messages between clients as required). Handles notifications, receipts, invites.
Its a lot to build.
Theres a lot of examples of pieces of this, ie Presence (https://aws.amazon.com/blogs/gametech/building-a-presence-api-using-aws-appsync-aws-lambda-amazon-elasticache-and-amazon-eventbridge/) but you really need to know your requirements and have a good design first.
已回答 3 年前
相關內容
- 已提問 1 年前
- 已提問 6 個月前
- AWS 官方已更新 7 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前