找到你要的答案

Q:Android Multiplayer turn-based: make an invitation

Q:Android多人转向基于:邀请

I'm developing a game using Android Multiplayer TurnBased api. The game that I use as "example" of multiplayer approach is SuperStickman Golf2, even if game is absolutely different. Like golf2 , I want to implement an invitation where the player indicate the own nickname and he can invite other nickname. Obviously I dont want to use default UI from Google. But how can I do that ?

In particular:

1) when I choose a nickname, where it will be stored?

2) when I want to play with another nickname, how/where do I perform the search? The only way that I know to make an invitation is to use "playerId", but it seems not sufficient...

In my game I've done everything and this is the last thing to make! but I'm stucked in this problem!

As alternative, how can I obtain playerId from displayName (that is like nickname, even if this is not my real target...)?

I'm developing a game using Android Multiplayer TurnBased api. The game that I use as "example" of multiplayer approach is SuperStickman Golf2, even if game is absolutely different. Like golf2 , I want to implement an invitation where the player indicate the own nickname and he can invite other nickname. Obviously I dont want to use default UI from Google. But how can I do that ?

特别地:

1)当我选择一个昵称,它将被存储在哪里?

2) when I want to play with another nickname, how/where do I perform the search? The only way that I know to make an invitation is to use "playerId", but it seems not sufficient...

在我的比赛中,我做了一切,这是最后一件事!但我被困在这个问题!

作为替代,我怎样从DisplayName获取playerid(如昵称,即使这不是我真正的目标…)?

android  google-play-services  multiplayer  invitation