Hi,
I made a mobile game using Cocos Creator and I imported the SDKBOX Play plugin into my project. I went through the documentation thoroughly, added all the ID’s I needed to. (Docs: http://docs.sdkbox.com/en/plugins/sdkboxplay/v3-js/)
I am trying to get leaderboard setup on Android. I created my leaderboard and put the leaderboard ID and name in my sdkbox_config file. My project builds and compiles successfully but when I run my game, it doesn’t seem to connect to Google Play Services. I don’t know if I missed a step or if others run into something minor they usually miss but any help would be appreciated. I have spent almost 2 days going over the documentation and redoing every single step. I got it working in a previous game but for some reason it is just not connecting to Google Play Services in this game.
onLoad I’m calling:
sdkbox.PluginSdkboxPlay.init();
sdkbox.PluginSdkboxPlay.signin();
But I don’t see my gamer tag appear at the top of the screen as it usually does on Android devices.
If my leaderboard name is 2 separate words, what is the correct syntax to call it in my code?
Ex: Leaderboard name: Total Score
. In my sdkbox_config file and in my code which of these should I use:
sdkbox.PluginSdkboxPlay.showLeaderboard('Total Score');
sdkbox.PluginSdkboxPlay.showLeaderboard('Total_Score');
sdkbox.PluginSdkboxPlay.showLeaderboard('Total-Score');
sdkbox.PluginSdkboxPlay.showLeaderboard('TotalScore');