关于连续性和跨设备畅玩
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
借助 Google Play Games 电脑版,您的用户可在使用移动设备玩游戏和用 PC 玩游戏之间无缝切换。如果您还支持其他类型的设备(如 Chromebook 或 Android 平板电脑),那么用户还可以在更多平台上畅玩游戏。本主题介绍 Google Play Games 电脑版的连续性要求。
如果用户每次使用新的设备玩游戏时都需要重置游戏进度,将会给用户带来糟糕的体验;通常情况下,无论他们处于哪个平台上,他们都是想要接着之前的进度继续往下玩。此外,必须在每个新平台上分别登录也是一个巨大的痛点,有可能导致用户放弃游戏;用户会希望以最少的操作尽快沉浸到游戏体验中。
通过实现 Google Play 游戏电脑版的连续性要求(由 Google Play 游戏服务登录提供支持),您可以向用户保证,他们可以在新的 Play 平台恢复自己的凭据并继续玩游戏,而无需输入用户名或密码,从而尽可能快速流畅地开始游戏,为用户提供最佳体验。
概括而言,此要求包含 2 个部分,确保我们可以让用户跨越多个平台获得顺畅连贯的游戏体验:
- 在云端保存游戏数据和进度 - 您的游戏必须至少能够在移动设备和 PC 之间恢复用户的游戏状态。(可选)支持跨越游戏支持的任何平台恢复进度。
- 跨平台提供零接触登录体验 - 利用 Google Play 游戏服务 (PGS) v2,使用用户的 Google 账号将他们的游戏凭据从移动设备转移到 PC 上,从而实现零接触体验。我们新推出的 Google Play 游戏服务 v2 SDK 是 Google Play 游戏电脑版的一项要求;借助该 SDK,集成比以前更加容易,用户在登录您的游戏时可获得顺畅的体验。
以下主题介绍了如何满足上述要求:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):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"]]