nunorfpt Posted May 26, 2014 Share Posted May 26, 2014 I´m trying to insert leaderboards in my Phaser game, using cocoonjs Social Extensions. I'm using this code to login and get the leaderboar:var gp = CocoonJS.Social.GooglePlayGames;socialService = gp.getSocialInterface();socialService.setTemplates("templates/leaderboards.html", "templates/achievements.html");socialService.onLoginStatusChanged.addEventListener(function(loggedIn, error){ if (loggedIn) { socialService.showLeaderboard({leaderboardID:"123456789"}, function(error){ if (error) console.error("showLeaderbord error: " + error.message); }); }});In the Custom Cocoon Launcher tester, it logs in correctly but it doesn't show the leaderboard, already configured in google games services. Has anyone applied the cocoon social extensions to google play leaderboards that could help? Link to comment Share on other sites More sharing options...
valueerror Posted August 5, 2014 Share Posted August 5, 2014 any news on that? i'd like to implement the google play leaderboard too and i am searching for tips or some sort of howto ? Link to comment Share on other sites More sharing options...
Recommended Posts