Sup. So, I set out a few days ago to set up google play leaderboards on my android game made with construct 3. I had never done this before and began following the steps listed in the construct 3 manual to set it up. So far, I am unsuccessful. I'm sure I just did something wrong in the setup, and someone will be able to point that out, and that is the major reason for this post. But I also had some other questions about the google play features that I could not find much or any documentation for in the context of construct 3, and thought I would ask about them here.
First: How do I get this darn leaderboard thing to work. So, I entered my application ID (android) in the plugin, created a leaderboard titled "Most Wins", wrote the script, and published the signed apk to an internal texting track with myself and all internal testers listed in the game services bug testing tab. Here is the script I wrote to test the system. Note that I waited a full day after publishing, and did update my app before testing on my android device.:
When I run the program, In the home layout, google play tries to automatically sign me in. It fails, and after a moment, I return to my game. When I go to the leaderboard layout (where the script above is located) My app says "sign into google play to view leaderboards. double-tap to sign in" indicating that I am not signed in. So I double tap. Again, the google play bubble appears to attempt to sign me in, but then "failed to sign in" triggers changing the text to "failed to sign in to google play. Tray again layer". What am I doing wrong? Any Ideas?
I only have one theory, and it has to do with the next question I have. \/
Second: What is up with this SHA-1 signing thing? the manual kinda glosses over it. It says:
"You will need to select an application that you have already registered with Google Play"
And I did that. Then it says:
"and provide the SHA-1 signature for the certificate you will use to sign your application."
I was never prompted to do this and never entered one, nor do I know where I would get the SHA-1 signature from. Is it the same thing as my Keystore? It almost looked like google play already had the signature, as it displayed one at the bottom of a dialog box when I liked the app. I have not been able to find that string of numbers and letters since, nor did I take a screenshot of it. The manual continues:
"Once completed, you should be given a client ID and application ID. For an Android app, you only need your application ID."
And I was given both ID's. So, where was I supposed to do that SHA-1 thing? The manual states it is very important, and the game won't work without it. So, is that what my problem to question one is?
Third: In the google play game services tab, in my app's game details tab, there is an option for "saved games". A quick google search revealed this feature is used to save your user's data to the cloud and is easily integrable. So. Is this something I can do with construct 3? and if so, how?
Sorry for all the questions, but I found very little on all of these topics, so if any of you could help at all, thanks!