专为智能显示屏打造
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
作为增长最快的家居设备之一,智能显示屏是一种新的游戏平台。带有显示屏的 Google 助理设备提供了绝佳机会,通过丰富的视觉效果和游戏来娱乐玩家。
了解为何以及如何针对智能显示屏进行构建,以及如何将游戏扩展到更多设备。
专为智能显示屏设计
智能显示屏创造了一个新的游戏空间:在厨房操作台上、沙发旁边或家庭房中。这些设备坐在人流量大、多人共用的区域,几乎可以在任何地方供家里的任何人使用。只需简单操作,即可让多人快速访问您的游戏。
智能显示屏设备周围的游戏空间与其他游戏平台不同。多人可能同处一室,非游戏活动也可能会同时进行。这种环境为构建游戏带来了一些独特的挑战和机遇:
- 距离较远的互动:玩家可能会四处移动,距离设备几步之遥与设备对话,并且在与设备互动时没有看显示屏。有鉴于此,您的游戏应完全可以通过语音互动玩,避免玩家依赖于需要触摸屏幕的操作。您还应设计游戏视觉效果,让远处的玩家能够看清游戏内容。
- 多个玩家同时输入:智能显示屏非常适合涉及多人的游戏,因此请考虑如何一次与多个玩家互动。考虑到这一点,请确保同一台设备上的多人可以轻松欣赏游戏的图形。
- 公共公共空间:智能显示屏通常位于客流量高的地方,例如客厅和厨房。考虑您的游戏如何与游戏过程中发生的其他活动(例如烹饪、清洁、家庭作业或友好辩论)混合或结合。
如需详细了解创建有效语音界面的原则,请访问对话设计网站。您还可以查看 Android 的面向 TV 的设计原则,其中就如何设计远距离的玩家互动提供了类似且有用的建议。
在技术方面,Google 助理开发者平台提供了 Interactive Canvas 框架,以使用熟悉的网页开发工具为智能显示屏构建游戏。借助此框架,您可以打造全屏视觉和对话体验。如需详细了解如何使用 Interactive Canvas 进行构建,请参阅开发者文档。
通过语音构建视觉游戏
从早期的游戏机到现代手游,玩家都期待从游戏中获得出色的视觉体验。智能显示屏提供了一种为玩家打造这种体验的方式,并以新的维度(即语音)吸引玩家。
智能显示屏让用户感到熟悉的大型触摸屏,搭配语音界面的速度,在从现有游戏到支持语音的游戏体验之间架起了一座桥梁。玩家只需说“Hey Google,我们玩游戏吧”,即可快速进入游戏。如果用户进入不熟悉的地方,屏幕会提供一个额外的舒适输入选项。
针对 Google 助理生态系统中同时具有显示功能和语音界面的设备提供两种与玩家互动、娱乐和协助的方式,让您的游戏创造绝佳的成功机会。
将覆盖范围扩展到更多设备
Google 助理不仅可在智能显示屏上运行,虽然您应该首先针对智能显示屏进行设计,但也要注意可以玩您的游戏的其他支持 Google 助理的设备。特别是,智能手机在设备用户中占据了很大一部分,并且智能音箱的使用量也在不断增长。
适应智能手机
若要针对智能手机优化 Google 助理游戏,请执行以下操作:
- 使用自适应设计:使用自适应设计技术根据不同的屏幕尺寸进行调整,尤其是对于较小的手机屏幕。Google 助理使用 HTML 技术来实现视觉呈现,因此您可以将自己熟悉的大部分自适应设计用于游戏。
- 考虑到音量的因素:由于智能手机经常会用到,因此玩家经常会调低或关闭音量。最好提醒玩家在游戏开始时检查音量,但由于他们所处的位置(例如安静的聚会或嘈杂的通勤),他们可能无法使用声音。请务必在您的设计中考虑到这一点,具体做法是,让您的游戏除了支持语音之外还能够通过轻触进行导航,并确保音频提示中包含的重要信息在屏幕上也能读出。
适应智能音箱
随着您的玩家群体越来越熟悉您的游戏,有经验的玩家可能会想要使用纯语音界面,而且这种界面可以让新玩家更轻松地上手您的游戏。
考虑如何通过将游戏内容缩容到受限模式或切换到信息模式,在纯音频模式下运行您的游戏。例如,如果玩家通过纯语音设备激活您的游戏,您可以提供关于游戏功能、新闻、任务更新或排行榜状态的更新信息。
如需详细了解如何为扬声器设计纯语音交互,请参阅对话设计网站。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eSmart displays offer a new gaming platform with unique opportunities to engage players through voice and visuals in shared spaces.\u003c/p\u003e\n"],["\u003cp\u003eGames for smart displays should be designed for interactions at a distance, multiple simultaneous players, and integration with everyday activities.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage Interactive Canvas to build visually rich, voice-enabled games for smart displays using web technologies.\u003c/p\u003e\n"],["\u003cp\u003eWhile designing primarily for smart displays, consider adapting your game for smartphones and smart speakers to broaden its reach and accessibility.\u003c/p\u003e\n"],["\u003cp\u003eAdaptations for smartphones involve responsive design and volume considerations, while smart speaker adaptations focus on voice-only or informational modes.\u003c/p\u003e\n"]]],[],null,["# Build for smart displays\n\n*As one of the fastest growing home devices, smart displays\nare a new platform for gaming. Google Assistant devices with displays\noffer a great opportunity to entertain players with rich visuals and\ngames that talk.*\n\n*Learn why and how to build for smart displays and how to extend your\ngame to even more devices.*\n\nDesign for smart displays\n-------------------------\n\nSmart displays create a new space for gaming: on the kitchen counter, next\nto the sofa, or in the family room. Sitting in these high-traffic,\nmultiple-occupant areas, these devices can be reached by anyone at home from\nalmost anywhere. With just a few words, multiple people can quickly access your\ngame.\n\n\nThe play spaces around smart display devices are different from other gaming\nplatforms. Multiple people may be in the same room and non-gaming activities\ncan be happening at the same time. This environment offers some unique\nchallenges and opportunities for building games:\n\n- **Interactions at a distance:** Players may be moving around, speaking to the device from a few steps away, and not looking at the display while interacting with it. With this in mind, your game should be entirely playable through voice interaction and avoid relying on players needing to touch the screen. You should also design game visuals that are readable for players standing at a distance.\n- **Multiple, simultaneous player input:** Smart displays are great for games that involve multiple people, so consider how to engage more than one player at a time. With this in mind, make sure it's easy for several people around a device to enjoy your game's graphics.\n- **Shared common spaces:** Smart displays are often located in high-traffic places, like living rooms and kitchens. Consider how your game might blend or combine with other activities happening during gameplay, such as cooking, cleaning, homework, or friendly debates.\n\nTo learn in-depth principles for creating effective voice interfaces, see\nthe [Conversation design](https://designguidelines.withgoogle.com/conversation/conversation-design/welcome.html)\nsite. You can also check out Android's\n[Designing for TV](https://designguidelines.withgoogle.com/android-tv/design-principles/designing-for-tv.html#)\nprinciples, which shares similar, helpful recommendations to design player\ninteractions at a distance.\n\nOn the technical side, Google Assistant developer platform provides the\nInteractive Canvas framework for building games for smart displays using\nfamiliar web development tools. This framework lets you build\nfull-screen visual and conversational experiences. Learn more about\nbuilding with [Interactive Canvas](/assistant/interactivecanvas) in the\ndeveloper documentation.\n\nBuild visual games with voice\n-----------------------------\n\nFrom early game consoles to modern mobile gaming, players have come to\nexpect a great visual experience from games. Smart displays provide a way\nto create that experience for players and engage them in a new\ndimension: voice.\n\n\nOffering the familiarity of large, inviting touch screens, with the\nspeed of a spoken interface, smart displays create a bridge from existing gaming\nto voice-enabled game experiences. Players can simply say, \"Hey Google, let's\nplay a game,\" and jump into a game fast. If they get into unfamiliar territory,\nthe screen provides an additional, comfortable input option.\n\nTargeting devices with both display capabilities and voice interfaces in the\nGoogle Assistant ecosystem gives your game the best chance of success, by\nproviding two ways to engage, entertain, and assist players.\n\nExtend your reach to more devices\n---------------------------------\n\nGoogle Assistant operates on more than just smart displays. While you should\ndesign for smart displays first, take note of the other Google Assistant\ndevices where your game can be played. In particular, smartphones represent a large\npart of the device population and use of smart speakers continues to grow.\n\n### Adapt for smartphones\n\nTo optimize your Google Assistant game for smartphones:\n\n- **Use responsive design:** Use the techniques of [responsive web design](https://en.wikipedia.org/wiki/Responsive_web_design) to adjust to varying screen sizes, particularly for smaller phone screens. Google Assistant uses HTML technologies for visuals, so you can use much of what you already know about responsive design for your game.\n- **Account for volume:** Since smartphones are used on the go, players often have their volume turned down or off. It's a good idea to remind players to check their volume at the start of the game, but they may not be able to use sound because of where they are, such as a quiet gathering or a loud commute. Be sure to accommodate this in your design by making your game navigable through touch, in addition to voice, and make sure that important information contained in audio prompts is also readable on the screen.\n\n### Adapt for smart speakers\n\nAs your player base becomes more familiar with your game, a voice-only interface\nmay be desirable for experienced players and can make your game more accessible\nto new players.\n\nConsider how your game could work in an audio-only mode by scaling back the game\nplay to a limited mode, or switching to an informational mode. For example, if a\nplayer activates your game from a voice-only device, you could provide updates\nabout game features, news, mission updates, or leaderboard status.\n\nFor more information about designing voice-only interactions for speakers,\nsee the\n[Conversation design](https://designguidelines.withgoogle.com/conversation/conversation-design/welcome.html)\nsite."]]