Leaderboard when more than one player on same iPhone/iPad
Peter_Olafson
Member Posts: 301
Is there a way to send a score with someones name to the leaderboard so if player 1 wins their name and score posts or player 2 wins and their name and score posts?
The only way I can think of at the moment is to create two leaderboards, one for player one and one for player two. But they won't always be the same players.
The only way I can think of at the moment is to create two leaderboards, one for player one and one for player two. But they won't always be the same players.
Comments
Assuming these are local leaderboards you're talking about, and not GameCenter, yeah, you can have a text attribute the user can fill out via the Keyboard Input behavior.
Then when displaying the score, do the following-
Display attribute:
game.player1name.."-"..game.score
Hope this helps
Chakku