How do I add google leaderboard

0 favourites
  • 5 posts
From the Asset Store
Google Analytics 4 Plugin for Construct 3 enables metrics and analytics for your games easily.
  • I am trying to add google leaderboard to my game.

    can any one tell me how to do that........?

    the compiler i use is intel xdk

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Download the Phonegap plugin by cranberrygame. you need the "Phonegap Game: show leaderboard and achievements " one, It works with intel xdk - crosswalk. I don't think the google play plugin that came with C2 works with crosswalk.

    "Free"

    Note: The plugin will not work in the web browser and you will a need Google developer account.

    1. Setup up the leaderboard and achievements in the google play developer console.

    2. Get your App ID - from Google

    3. Install and add the phonegapGame plugin to your game -

    4 under the plugin properties add the app ID.

    5. On the Event sheet add Events/actions for login, submit score, show leaderboads, etc..

    6. Export your game

    7. Open the export folder

    8. open intelxdk.congfig.additions.xml in notepad

    9. change the the value to your google app id , on this line <intelxdk:param intelxdk:name="APP_ID" intelxdk:value="Your Google APP ID" />

    Now you can import it in to XDK and export a APK.

  • Knight05 thanx man..

  • Knight05 hey i did according to the tutorial. which u told. But its not working. do i have to add google play store plugin also..........?

  • You might need to upload a beta or alpha app to link it to the game services. Did you error message?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)