Well, I'm implementing the new game center in android and there is a concept that i don't understand.
I have a class which extends BaseGameActivity (https://developers.google.com/games/services/android/init), so it's the one who manages achievements, leaderboards, Google + sign in, etc. I need another class to be able to access game center data from that activity (unlock achievements, leaderboards, etc), but this class is not called from the extending BaseGameActivity class.
How can they communicate?
The structure is like this (meaning "->" that it starts other activity)
A (extends BaseGameActivity) -> B -> C (needs game center communication with A)
I have read the google's example (TypeANumber) but it uses a Listener to communicate, that's easy when the class you need to communicate with is the one which you are starting, but it's not as easy with my structure.
Any ideas?
Thanks
Navigate the path "Menu" > "Data Linking & Back Up" > "Game Center Account Linking" and log in to your Game Center account. 2. Complete data linking using your Game Center account. 3.
You can use iCloud and Game Center to keep your progress, high scores, and game saves up-to-date across your devices. If you're signed in to the same iCloud and Game Center accounts and download Apple Arcade games from the App Store on all of your devices, you can access your game saves and progress on all of them.
The only way to find out is to login with every known account. Gamecenter accounts are easily changeable and doing so doesn't affect the rest of your device because your Apple-ID/iCloud login is seperated from your Gamecenter account.
When you sign in with your Apple ID, you will be signed in to Game Center automatically. Game Center allows you to engage in game-related activities such as participation in leaderboards; multiplayer games; finding, viewing, and challenging friends; and tracking achievements.
What I think is you have 3 choices:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With