android - Google Play Game Services; Invitation system -
in android game, want players able invite friends game match take place @ later date , time. player created match chooses date , time. want these invitations able pending, meaning users don't have accept invitation right away, rather have them in pending list can accept them anytime, long before date , time game take place. game real-time based game.
i thought using google play game services accomplish , other things in game, achievements etc, , believe work actual game. fact works cross platform big plus. problem how invitations handled game services. google developer documentation: https://developers.google.com/games/services/common/concepts/realtimemultiplayer
room: virtual meeting space games take place. players can invited join rooms, or automatically matched them. players connected same room can exchange game data each other.
participant: players can participate in game. local player can send invitations other players circles join room, or request auto-matched random players. player sent invitation see notification accept game invitation. if player accepts invitation, joined room. state of participants in room managed google play game services , sent game clients.
this done on spot, , game supposed played when players has accepted invitation. question is: there way work around in google play game services, in order use invitation system? or there other game service can support want achieve?
one of ideas i've had of work around in game services, handling 2 different invitations: player invites or friends game take place time later. when invited friends accept invite, timer set in application, 10 minutes before game take place. when timer goes of, dialog shown players, again, can accept whether want participate in game or not. when room created, , game work normal real-time multiplayer game. problem solution invites. don't think can pending, must accepted on spot, not how application supposed work.
Comments
Post a Comment