Roblox 推出经过优化的 Chromebook 应用,为游戏玩家提供更多游戏平台选择
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。

根据 comScore 提供的数据,Roblox 是最大的用户生成在线游戏平台,也是儿童和青少年的首选游戏网站,其用户创建的游戏已超过 4000 万款。受 Chromebook 庞大的用户群和教育机构使用大量设备的启发,Roblox 决定针对 ChromeOS 优化其应用。
Roblox 支持许多设备,包括带触摸屏的笔记本电脑和平板电脑。
因此,它可以充分利用 Chromebook 同时能在笔记本电脑和平板电脑模式下运行的特性。优化过程非常顺畅,因为 Roblox 已经支持 Android,但它必须在 Android 版本中进行一些调整,才能确保它在 Chromebook 上顺利运行。

策略
首先,Roblox 检查了 Android 应用中内置的功能,以便与 ChromeOS 兼容。在针对 ChromeOS 进行优化时,Android 应用的一些原始架构决策存在问题,特别是静态屏幕渲染维度。在确定全屏方法以提供沉浸感更强的游戏体验之前,Roblox 针对此问题进行了测试、试验和优化。
出于设备识别的目的,Roblox 必须决定如何在内部对 Chromebook 进行分类,因为它兼具笔记本电脑和平板电脑的设备功能,具体取决于正在运行的模式。由于 Chromebook 未必恰好适合当前的设备分类,因此 Roblox 只是创建了一个用于跟踪用户互动度和表现的新类别。Chromebook 的屏幕比例和键盘可根据设备的握持方式动态变化,因此 Roblox 增加了对即时检测屏幕和键盘方向的支持。
成果
Chromebook 目前可非常好地运行 Roblox 的 2D 应用和 3D 引擎,并为用户提供独特的游戏体验。在不同设备模式之间切换的功能使该应用易于在各种位置和情形下使用,并且易于根据控制和输入偏好设置进行调整。
Roblox 首次宣布并发布对 ChromeOS 的支持时,立刻在其开发者和玩家社区中掀起了热潮。这一令人振奋的消息引来一大群忠实玩家,他们喜欢定期在 Chromebook 上玩 Roblox。
开始使用
了解如何以最佳方式针对 ChromeOS 优化您的应用。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2018-11-19。
[null,null,["最后更新时间 (UTC):2018-11-19。"],[],[],null,["# Roblox casts a wider net for gamers with optimized Chromebook app\n\nWith more than 40 million games created by its users,\n[Roblox](https://www.roblox.com/) is the largest user-generated\nonline gaming platform and the number-one gaming site for kids and teens,\naccording to comScore. Inspired by the Chromebook's solid install base and the\nlarge number of devices used by educational facilities, Roblox decided to\noptimize its app for ChromeOS.\n\nRoblox supports many devices, including laptops and tablets with touchscreens.\nSo, it's able to benefit from the Chromebook's ability to run in both laptop\nand tablet mode. The optimization process was fairly seamless because Roblox\nalready supported Android, but it had to make a few tweaks within the Android\nbuild to make sure it ran smoothly on Chromebook.\n\nWhat they did\n-------------\n\nFirst, Roblox reviewed features it had built in the Android app for compatibility\nwith ChromeOS. Some of the Android app's original architectural decisions were\nproblematic when optimizing for ChromeOS, most notably the static screen render\ndimension. Roblox spent time testing, experimenting, and optimizing for this\nissue before settling on a full-screen approach for a more immersive gaming\nexperience.\n\nFor device identification purposes, Roblox had to decide how to classify the\nChromebook internally because it had the device capabilities of both a laptop\nand tablet, depending on which mode was running. Because Chromebooks don't\nnecessarily fit neatly into their current device categorization, Roblox simply\ncreated a new category for tracking user engagement and performance. The\nChromebook's screen ratio and keyboard change dynamically based on how the\ndevice is being held, so Roblox added support to detect both screen and keyboard\norientation on the fly.\n\nResults\n-------\n\nChromebooks currently run Roblox's 2D app and 3D engine extremely well,\nand provide users with a unique gaming experience. The ability to toggle between\ndifferent device modes makes the app easy to use in a variety of locations and\nsituations, and easy to adjust based on control and input preferences.\n\nWhen Roblox first announced and released support for ChromeOS, there was a lot\nof excitement from its developer and player communities. This interest turned\ninto a large group of dedicated players who love playing Roblox on their\nChromebooks on a regular basis.\n\nGet started\n-----------\n\nLearn how to best\n[optimize your apps for ChromeOS](/topic/arc/optimizing)."]]