How to implement GPGS plugin

Hello!

Thank you for your response. I was wondering where can I get the participant object. Is there a function that returns it?

Sorry for the late response. The listener you attach to gpgs.multiplayer.realtime.sendReliably() will receive a sendReliably event from which you can get the participantID

Just for historical notes on my questions above - I did have to code around the delay between the submitting of the scores to GPGS and getting the listener to fire… a 3 second delay has been enough so far. 

If there was a better way, I was not able to find it.

Sonyallc, I did reply to your request in your other thread.

I have followed your thread. As suggested by -schizoid2k, please post some code related to gpgs functionalities. From signing in till leaderboards.show and submission of data to leaderboards.

Note: Check all the id’s are matching with your dev console, and it takes sometimes for the gpgs features to come online after the first  apk using gpgs is uploaded, max 24 hours. 

Hi and thank you for your code.
I have a very general question about it.

Is it really necessary to implement hundrets of lines of code to the project just to get GPGS working?
I guess, your code contains every bit of stuff, that could be useful, right?

So I am wondering, what do I really need?

Regards
Christian

PS: Sorry for being the bad guy :wink:
 

Sorry for the very late reply.  

The common code would be the build.settings, config.lua and the sign in/sign up process to gpgs in main.lua and menuScreen.lua. then if you only want leaderboards then just add the leaderboards code part only and so on.

The above code represents, sign in/ sign up to gpgs, leaderboards, achievements, syncing across device via google drive.