I already have a game on google play, but I will upgrade and I want to use achievements and leaderboards.
I got from there:
<?xml version="1.0" encoding="utf-8"?>
<!--
Google Play game services IDs.
Save this file as res/values/games-ids.xml in your project.
-->
<resources>
<string name="app_id">99999999999999</string>
<string name="achievement_record_10000">asdfasdfasdfzzzzzzzzzz</string>
<string name="achievement_record_5000">asdfasdfasdfwwwwwwwwww</string>
<string name="achievement_record_1000">asdfasdfasdfaaaaaaaaaa</string>
<string name="achievement_record_500">asdfasdfasdssssssss</string>
<string name="achievement_record_100">asdfasdfasdfcccccccccc</string>
<string name="leaderboard_record">asdfasdfasdaaaaaaaaaaaaa</string>
</resources>
How do I put this code on monkey? Where do I put the app ID on the monkey file? How do I use the code (those strings) to link with the score of app?
ty
this link could help: https://developers.google.com/games/services/android/quickstart#step_3_modify_your_code
|