2 Question In 1 Post: 1° Submit Score To Leaderboard ' 2° Api Call

Hi, all.

1° A player has submitted one score to the leaderboard. Some time later that same player submits another score. Will the first score be overrided by the last one? Or will the two scores be shown on the leaderboard assigned to the name of that specific player?

2° What is a API Call?

Thanks. 

Hi,

The leaderboard will store the highest score, so the new score is only stored if its higher than the current one on the leaderboard.

Check out this guide https://docs.coronalabs.com/guide/cloud/leaderachieve/index.html should give you a good idea of how to use leaderboards.

Let me know how it goes.

-Mohamed

We are in need to submit lower score (overriding the higher score).

This is used to have an ELO leaderboard where users ELo can go up/down.

Will you support this feature ? (this one is really easy to implement)

Hi, currently we allow you to set the leaderboard to go in only one direction; either ascending or descending (Reverse), but not both on the same leaderboard.

Thanks

-Mohamed

For ELO (or similar leaderboards) descending is fine, but you should be able to submit lower score for a player which would substitute his higher score.

Hope that makes sense.

Regards,

Damir.

Hi, Mohamed. Thank you for answering my first question.

Can you answer my second question? If yes, what specifically is a “API Call”?

Sorry missed that.

Basically an API call is any call that you make that touches the Corona Cloud service. 

For example submitting a score is an API call.

Not sure if this answers your question.

Thanks

-Mohamed

API = Application Programming Interface. 

Basically it’s any routines provided by a vendor/site to you to access the services of that vendor.  In Corona SDK’s case, calling display.newImageRect() is calling a Corona SDK API call.  In the case of Corona Cloud, we have two separate interfaces: Web REST based and Corona SDK Lua based.  Regardless, when you make a call like

     coronaCloud.submitHighScore( leaderboardID, score )

then you are making an API call.

Hope that helps.

Ah, get it now. Thank you, Mohamed and Rob.

And more: what happens if I overflow the API Calls limit of the free plan? 

Hey WilerJr,

This might help…

http://forums.coronalabs.com/topic/33289-is-free-plan-really-free/

Hi,

The leaderboard will store the highest score, so the new score is only stored if its higher than the current one on the leaderboard.

Check out this guide https://docs.coronalabs.com/guide/cloud/leaderachieve/index.html should give you a good idea of how to use leaderboards.

Let me know how it goes.

-Mohamed

We are in need to submit lower score (overriding the higher score).

This is used to have an ELO leaderboard where users ELo can go up/down.

Will you support this feature ? (this one is really easy to implement)

Hi, currently we allow you to set the leaderboard to go in only one direction; either ascending or descending (Reverse), but not both on the same leaderboard.

Thanks

-Mohamed

For ELO (or similar leaderboards) descending is fine, but you should be able to submit lower score for a player which would substitute his higher score.

Hope that makes sense.

Regards,

Damir.

Hi, Mohamed. Thank you for answering my first question.

Can you answer my second question? If yes, what specifically is a “API Call”?

Sorry missed that.

Basically an API call is any call that you make that touches the Corona Cloud service. 

For example submitting a score is an API call.

Not sure if this answers your question.

Thanks

-Mohamed

API = Application Programming Interface. 

Basically it’s any routines provided by a vendor/site to you to access the services of that vendor.  In Corona SDK’s case, calling display.newImageRect() is calling a Corona SDK API call.  In the case of Corona Cloud, we have two separate interfaces: Web REST based and Corona SDK Lua based.  Regardless, when you make a call like

     coronaCloud.submitHighScore( leaderboardID, score )

then you are making an API call.

Hope that helps.

Ah, get it now. Thank you, Mohamed and Rob.

And more: what happens if I overflow the API Calls limit of the free plan? 

Hey WilerJr,

This might help…

http://forums.coronalabs.com/topic/33289-is-free-plan-really-free/