Olivier from Clickteam has created a very comprehensive example file for using the Google Play Games Extension.

You can get the extension here:
...