Leaderboards and Achievements GOOGLE PLAY

Monkey Forums/Monkey Beginners/Leaderboards and Achievements GOOGLE PLAY

yiotoo(Posted 2014) [#1]
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.
  <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>

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?


this link could help: https://developers.google.com/games/services/android/quickstart#step_3_modify_your_code

MikeHart(Posted 2014) [#2]
You don't. There is no official support for Google Play Services in Monkey X.

You need to change the exported project manually.

yiotoo(Posted 2014) [#3]
:(, is there anyway to put "Offers in-app purchases"? I am planning to do later

MikeHart(Posted 2014) [#4]
Yes, there is an IAP module shipping with Monkey. Works on Android, iOS and WinPhone8 I heard.

yiotoo(Posted 2014) [#5]
:). ty