How to Get Leaderboards + Google Play Services ID for Buildbox Projects

Leaderboards is one of features that make our game looks more competitive and more challanging , thats pump up people to trying get best highscore and get top the worlds ranking on leaderboards , now we can use Leaderboards features using Google Play services on Buildbox project , but not all know what code need to add it . on this page , Specially for all my client ,i will show you how to get leaderboards + google play services and setup all that requirments .

The Step :

  1. Create Game Services ID and Leadboards ID
  2. Setup ( Add leaderbords ID and Game Services ID on Android Studio or Eclipse Project)
  3. Upload Game To Google Play Console
  4. Linked your Game Apps
  5. Publish Your Game Services 

1.Create Game Services ID and Leaderbords ID

  1. Go to https://play.google.com/apps/publish/
  2. Add new Application and Give Name for your Game ( its needed )
  3. Go to Game Services (left sidebar) and add New Game

  4. On Pop up Display choose “I don’t use any Google APIs in my game yet” , Type your name and select your game Category then click Continue
  5. now we have know our Google Services ID you can save it on note to remind you later  , keep all setting like that ,
  6. now we create leaderbaords , on left side bar you can click on leaderboards , then we can add new Leaderboards

  7. Now Fill the name and descriptions , you can add you game icon too on this leaderboards , click save
  8. Now we get our Leaderboards id , we can save on notepad again

Then all Needed File are Finished , then you can add Leaderboards id and Game Services on your game , if you dont know add it you can watch my video below or find on my channel

Watch on Youtube

You Can Skip Video to mid or read descriptions , you will find where you should add your Leaderboards id

2. Setup ( Add leaderbords ID and Game Services ID on Android Studio or Eclipse Project)

How To Add Leaderbords ID

Android Studio 

  1. go to \app\src\main\assets\data\PTModelGeneralSettings.0.attributes.xml
  2. open with your Notepad or other Text editor , or you can open it directly on Android Studio
  3. Scroll down until you find <key>Google Play Store</key> then on <key>leaderboardId</key> change on Value with your Leaderboards ID
    Before
    After
  4. its same like on Eclipse

on Eclipse \android\assets\data\PTModelGeneralSettings.0.attributes.xml

How to Add Game Services ID

Android Studio 

  1. go to \app\src\main\res\values\strings.xml
  2. open with your Notepad or other Text editor , or you can open it directly on Android Studio
  3. Change Game Services ID with your Game Services ID

on Eclipse \android\res\values\strings.xml

 

3. Upload APK File to Google Play Console

4. Linked you Game Apps

after published your Apk File , we need Linked our Game or Apps , you can follow this instructions below :

  1. Click on Game Services  then Click on your Game , on Left Sidebard click Linked apps and Select Android Button
  2. Then Fill and Select your game , make sure you have use Signed Apk when Upload APK file then click continue
  3. Authorize your Game app like this pic below , then finished

5. Publish Your Game Services 

make sure your game Services are Published , then you can try on your phone , make sure you have add it with same name package like linked apps .

 

Incoming search terms:

Leave a Reply

Your email address will not be published. Required fields are marked *