關於持續性與跨裝置遊戲
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
有了 Google Play 遊戲電腦版,您的玩家就可以在行動裝置和電腦之間流暢切換遊戲的執行平台。如果您的遊戲還支援他種裝置 (例如 Chromebook 或 Android 平板電腦),使用者玩遊戲的途徑就更多元了。本主題將說明 Google Play 遊戲電腦版的持續性規定。
玩遊戲時,如果每次轉換裝置就得重設遊戲進度,使用體驗便會大受衝擊。玩家一般都會希望就算轉換裝置,遊戲進度也能自動接續。此外,每次轉換裝置都要重新登入,也令人覺得相當不便,有人可能因此便放棄遊戲。事實上玩家都想盡快沉浸在遊戲體驗中,上述影響他們娛樂的「路障」越少越好。
導入 Google Play 遊戲電腦版的連續性規定 (由 Google Play 遊戲服務登入提供支援),確保使用者可以在新的 Play 途徑還原憑證並繼續遊戲,不必輸入使用者名稱或密碼,盡可能快速流暢地投入遊戲體驗,提供最佳體驗。
大致上,這個規定有 2 個要素,可供我們確保使用者轉換裝置也能順暢延續先前遊戲進度:
- 將遊戲資料和進度儲存在雲端 - 您的遊戲必須能夠讓使用者至少在行動裝置和電腦之間復原遊戲狀態。您還可以視需要,將這個要素進一步導入所有遊戲支援的多元途徑。
- 提供跨裝置零接觸登入體驗:利用 Google Play 遊戲服務 (PGS) 第 2 版打造零接觸體驗,透過使用者的 Google 帳戶將行動裝置的遊戲憑證導向電腦。Google Play 遊戲電腦版使用新版 Google Play 遊戲服務第 2 版 SDK,整合程序比以往更加簡便,使用者登入遊戲也很流暢。
以下主題說明如何實作規定:
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# About continuity and cross-device play\n\nWith Google Play Games on PC, your users transition seamlessly between playing your game on their mobile device, and playing on their PC. If you also support other device types, such as Chromebooks or Android tablets, your user may be playing across even more surfaces. This topic introduces the continuity requirements for Google Play Games on PC.\n\nResetting game progress each time they play on a new device is a poor experience for your users; typically their intention is to continue playing your game, regardless of which surface they are on.\nAdditionally, having to login separately on each new surface creates a significant pain point which can lead users to abandon your game; users want to be immersed into the game experience as soon as possible with minimal roadblocks.\n\nBy implementing the [continuity requirements](/games/playgames/continuity-requirements) for Google Play Games on PC, powered by [Google Play Games Services Sign In](/games/pgs/android/android-signin), you give your users the best experience possible by assuring them that they can restore their credentials on a new Play surface and continue with their game - all without needing to enter a username or password, so that they can jump into the experience quickly and seamlessly as possible.\n\nAt a high level, there are 2 components that make up this requirement, so that we can ensure seamless continuity across surfaces for the user:\n\n- **Saving game data and progress in the cloud** - Your game must be able to restore the user's game state between their mobile device and PC, at a minimum. This optionally spans across any surface your game supports.\n- **Providing a zero-touch login experience across surfaces** - Leverage [Google Play Games Services (PGS) v2](/games/pgs/overview) to create a zero-touch experience, using the user's Google Account to bring their game credentials from their mobile device to PC. With our new Google Play Games Services v2 SDK, which is a requirement for Google Play Games on PC, integration is easier than before and users have a seamless experience when signing in with your game.\n\nThese topics describe how to implement the requirements:\n\n- [Detailed guidance for fulfilling our continuity requirements](/games/playgames/continuity-requirements) for Google Play Games on PC users\n- [Test cases](/games/playgames/continuity-expected-behaviors) you can use to evaluate your own integration against our requirements\n- [Our recommendations](/games/playgames/integrating-pgs-existing-id-solutions) for integrating Play Games Services with your own existing identity system.\n- [Developer documentation](/games/pgs/overview) for integrating Play Games Services v2 within your game"]]