Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Game Centre: Player Name?

Author
Message
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 18th Jan 2016 08:26
I don't see any commands for retrieving a players name that is logged in to Game Centre.
How do we do that?
AGK V2 user - Tier 1 (mostly)
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 18th Jan 2016 08:37
i don't think your allowed to access that. you just do the gamecentersetup(), gamecenterlogin() and GameCenterSubmitScore( ) and the OS handles everything else

Sign up for NaGaCreMo!
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 18th Jan 2016 14:57
So we can't display the player name in the game?
Seems a bit of an oversight!
AGK V2 user - Tier 1 (mostly)
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 18th Jan 2016 21:16
i don't think they want to reveal any details of the customer. i think this would be an OS thing, not an AppGameKit thing. DO you know of any game, that uses game center, that displays the users name in-game?
alternatively you could use the facebook functions to get the players name

Sign up for NaGaCreMo!
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 21st Jan 2016 07:16
Quote: "DO you know of any game, that uses game center, that displays the users name in-game"

Yes.
Clash of Clans is perhaps the biggest and most famous game around at the moment and that displays your name in several places. Along with the name of everyone in your clan and anyone that attacks you.

Since the ability to get the players name (and photo) is available in the development kit, then I say again, it seems like quite an oversight to not have that functionality in AGK.
AGK V2 user - Tier 1 (mostly)
JohnnyMeek
11
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 21st Jan 2016 07:21
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 21st Jan 2016 19:39
can't argue with that. does google play allow you to see the name?

Sign up for NaGaCreMo!
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 22nd Jan 2016 13:17 Edited at: 22nd Jan 2016 13:18
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 22nd Jan 2016 18:54
I've added this to my todo list for a future version.

Login to post a reply

Server time is: 2024-09-29 09:24:22
Your offset time is: 2024-09-29 09:24:22