Ryan Scorpion
Member
Hi,
I have a game currently being tested on the Microsoft Store via UWP. Looking at the UWP documentation, it says that I can use leaderboards. I read up the little information offered by YoYo and a bit from Microsoft and tried to implement these into my game. However I am yet to have success with this endeavour. Despite trying multiple times I still don't see these leaderboards anywhere and I was hoping someone more experienced with this could inform me if my MS Partner Setup or code is wrong.
This is the code I use to write to the leaderboard (NOTE: I had to remove certain parts as they are part of the certificate copied from MS Partner Center but these are replaced with // followed by what they are):
(I also tried in the string parameter entering the display name of the leaderboard to little success
This is how I have the leaderboards set up in MS Partner Center:
I have also used the following documents to help:
https://docs.microsoft.com/en-us/ga...-platform-for-stats-leaderboards-achievements
https://docs.microsoft.com/en-us/gaming/xbox-live/leaderboards-and-stats-2017/leaderboards
GMS2 Docs for xboxlive_stats_setup(); and xboxlive_stats_set_stat_int();
As I said I can't see any changes anywhere and so it would be nice if someone more experienced than me could let me know if my code is the issue or if my setup on MS Partner is an issue.
Thanks for reading!
(PS: I previously accidentally posted this in GMS2 Community Tech Support so if you've seen this before, that's why. I have asked for it to be removed)
I have a game currently being tested on the Microsoft Store via UWP. Looking at the UWP documentation, it says that I can use leaderboards. I read up the little information offered by YoYo and a bit from Microsoft and tried to implement these into my game. However I am yet to have success with this endeavour. Despite trying multiple times I still don't see these leaderboards anywhere and I was hoping someone more experienced with this could inform me if my MS Partner Setup or code is wrong.
This is the code I use to write to the leaderboard (NOTE: I had to remove certain parts as they are part of the certificate copied from MS Partner Center but these are replaced with // followed by what they are):
Code:
if os_type = os_uwp and xboxlive_user_is_signed_in()
{
xboxlive_stats_setup(xboxlive_get_user(0), "//Game SCID", //Game Title Id);
xboxlive_stats_set_stat_int(xboxlive_get_user(0), "Score", score);
xboxlive_stats_set_stat_int(xboxlive_get_user(0), "Level", global.level);
}
This is how I have the leaderboards set up in MS Partner Center:
I have also used the following documents to help:
https://docs.microsoft.com/en-us/ga...-platform-for-stats-leaderboards-achievements
https://docs.microsoft.com/en-us/gaming/xbox-live/leaderboards-and-stats-2017/leaderboards
GMS2 Docs for xboxlive_stats_setup(); and xboxlive_stats_set_stat_int();
As I said I can't see any changes anywhere and so it would be nice if someone more experienced than me could let me know if my code is the issue or if my setup on MS Partner is an issue.
Thanks for reading!
(PS: I previously accidentally posted this in GMS2 Community Tech Support so if you've seen this before, that's why. I have asked for it to be removed)