However, when I inspect
gdjs.evtTools.leaderboard, these variables are
Found a solution! Reference them at least once in events!
I do have a follow up question… I cannot save anything to the leaderboard… I am calling
gdjs.evtTools.leaderboards.saveConnectedPlayerScore(runtimeScene, leaderboardId, score.getValue()); and I get the following error:
ReferenceError: jsSHA is not defined
at U (leaderboardstools.js:1:223)
at x (leaderboardstools.js:1:4996)
at i.savePlayerScore (leaderboardstools.js:1:5664)
Do you know what I can include in the project to also include jsSHA?
And solved again! This conversation with myself is going really well! I have to make sure I am SENDING a score to the leaderboard for it to include the jsSHA. OK, I think I’m good now!