iOS Google Play Games SDK - 如何邀請好友加入社交圈? (iOS Google Play Games SDK - How to invite friends to social circles?)


問題描述

iOS Google Play Games SDK ‑ 如何邀請好友加入社交圈? (iOS Google Play Games SDK ‑ How to invite friends to social circles?)

最近,Apple 的 Game Center 真的下架了,所以我在我的 iOS 遊戲中添加了對 Google Play Games 排行榜和成就的支持。我自己通過使用 GPGLeaderboard 類下載分數來顯示排行榜。有一個名為“social”的屬性可以讓我下載朋友的分數 ‑ “社交排行榜是由本地玩家圈子內的人過濾的公共排行榜。” 是否有 API 可以讓我邀請其他玩家加入我的遊戲,以便我可以在這些社交排行榜中看到他們?我不確定人們應該如何建立這些社交圈?


參考解法

方法 1:

Check this documentation: Starting a real‑time multiplayer game.

  • Invite players button. Lets the user invite friends to join a game session or specify some number of random opponents for auto‑matching. When the player selects this option, your app should display either the built‑in player selection user interface (UI) provided by the SDK or a custom UI for player selection.

You might also want to check on this GPGLeaderboard Class Reference wherein leaderboard objects must be created with a leaderboard ID. Once a leaderboard object is created, you may interact with it using the provided set of actions.

(by user2136772abielita)

參考文件

  1. iOS Google Play Games SDK ‑ How to invite friends to social circles? (CC BY‑SA 2.5/3.0/4.0)

#google-play-games #iOS






相關問題

Google Play 服務登錄錯誤 (Google Play Services sign in error)

Google Player 遊戲服務錯誤:無法構建示例遊戲 (Google Player Game Service Error: Can't build the sample game)

Google Play 遊戲服務無法接受邀請 (Google Play Game Services can't accept invitations)

ITMS-90535 無法發布 libgdx iOS 應用程序 (ITMS-90535 Unable to publish libgdx iOS app)

Google Play 遊戲成就 - 積分不變 (Google Play Games Achievements - Points Not Changing)

玩遊戲服務,我們能知道我們什麼時候通過另一個hiscore嗎? (Play Game Services, can we know when we pass another hiscore?)

Android Google Play 遊戲服務 (Android Google Play Games Services)

為 Google 播放器帳戶存儲自定義數據的免費方式。(安卓,全球定位系統) (Free way to store custom data for a google player account. (Android, GPGS))

Unity Google Play Services Plugin API 與 Show Leaderboard UI 功能不同步? (Unity Google Play Services Plugin API is not sync with Show Leaderboard UI function?)

Android遊戲客戶端,Fragment上未顯示成就解鎖彈出窗口 (Android Game Client, Achievement unlock popup not shown over the Fragment)

我在 google play 上發布的應用程序在用戶下載時會顯示一個 android 文件。我怎樣才能解決這個問題? (My published app on google play shows an android file when users download it. How can i fix this?)

Google Drive Api 已棄用(Google play games -> Saved Games) (Google Drive Api deprecated ( Google play games -> Saved Games ))







留言討論