I set up all the leaderboard events except the event which will submit the score. Where should I put the event "submit"? When the player dies? Or when the new layout with Game Over screen comes?
Basically, how do I send the game's score to my leaderboard?
Right now, I tried experimenting with submiting the score when the player dies, and logging in and 'showing' the leaderboard on the Game Over Screen when the player clicks a button. The game works normal until I touch the button which is supposed to launch the leaderboard, as soon as I touch the button, the game crashes.
Can any one explain me what is happening?