Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
Posts: 11
Registered: ‎09-28-2012
My Device: Playbook
My Carrier: N/A

Problem with Scoreloop

Hi Blackberry support forums,

 

Don't know if this is the right forum, but here goes.

I am currently porting a iOS game made with Cocos2d-x, to Blackberry Playbook.

When trying to implement a leaderboard, i'm having a problem with "Scoreloop".

I want to simply get the local users score, and no one else, but the following command doesn't give the expected result (only the score of the user):

 

SC_ScoresController_LoadRangeForUser(scoresController, localUser, 1);

 

Often I don't get any results with this, or even with:

 

SC_ScoresController_LoadRangeForUser(scoresController, localUser, 2);

 

 

What am I doing wrong?

Highlighted
Retired
Posts: 71
Registered: ‎11-08-2012
My Device: Blackberry 10 - Dev Alpha B | Blackberry Playbook | Blackberry Torch 9810
My Carrier: BELL Canada

Re: Problem with Scoreloop

Hello @thorbjrn,

Have you tried adding some sample scores to the leader-board and then retrieving the local user's score?

What errors are you receiving?
William Hoang

Application Developer Advocate | Developer Relations
BlackBerry