Hi everyone! I’m developing an online multiplayer game with App Inventor, but now I have a big issue that I can’t solve: the high scores leaderboard.
I use Firebase as database, although I’m not sure it’s the most suitable database (alternative tips are welcome).
Can someone help me?
Thank you so much!
I tried to apply this solution to my project with Firebase, but it don’t works.
I found another solution which works partially, that is I can get only the high scores ranking, but when I try to add the name and the position index, I’m in trouble.
For example, suppose we have the following results:
Mark – 800 points
Eric – 500 points
Robert – 1100 points
Luke – 200 points
On my listview will appear a ranking like that:
1:____Robert____1100
1:____Eric____1100
2:____Mark____200
1:____Eric____1100
2:____Robert____500
3:____Luke____200
1:____Eric___1100
2:____Robert____800
3:____Luke____500
4:____Mark____200
How could I fix this? I attach my project screens.
Thank you.
This solution works pretty well using Label, but unfortunately don’t works with ListView.