Leaderboard when more than one player on same iPhone/iPad

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.

Comments

  • ChakkuChakku Member Posts: 1,513
    @Peter_Olafson
    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
  • Peter_OlafsonPeter_Olafson Member Posts: 301
    No, I'm referring to Game Center Leaderboards. Thanks though.
Sign In or Register to comment.