Sign In Register

How can we help you today?

Start a new topic

Leaderboards with a float score

Hi,


We require a leaderboard where the score should be a float. The leaderboard represents the top distance in meters that players have manage to achieve in a particular level.


We have followed the leaderboard tutorials. Created the event to submit a score which works fine event when we post a score of 7.5


However, when we request LeaderboardDataRequest, the score shows up as 7.


Is this functionality even possible, or is there a work around for this?


Thanks

1 Comment

Hi Helana,


Our leaderboards do not support floats. One of the reasons for this is the underlying computation that goes on behind the scenes is not fit for purpose with floats.


Many of our clients have opted to instead submit ints that act as a representation of floats (7.5 becomes 75, 75.5 becomes 755 etc..)


-Pádraig

Login to post a comment