Roblox 打造了經過最佳化的 Chromebook 應用程式,為遊戲玩家提供更多營利管道
透過集合功能整理內容
你可以依據偏好儲存及分類內容。

Roblox 擁有超過 4,000 萬款使用者開發的遊戲,根據 comScore 指出,這是由使用者產生的最大型線上遊戲平台,也是熱門兒童與青少年遊戲網站。Roblox 採用 Chromebook 的堅固安裝數,以及教育設施使用的大型裝置,Roblox 決定針對 ChromeOS 進行應用程式最佳化。
Roblox 支援多種裝置,包括筆電和附觸控螢幕的平板電腦。因此,Chromebook 可以在筆記型電腦和平板電腦模式下執行,由於 Roblox 已支援 Android,但最佳化程序非常流暢,但必須在 Android 版本中稍做調整,才能確保一切順暢地在 Chromebook 上運作。

具體措施
首先,Roblox 審查了 Android 應用程式內建的功能,確保與 ChromeOS 相容。Android 應用程式在針對 ChromeOS 進行最佳化調整時 (最值得注意的是靜態畫面轉譯尺寸) 發生了某些原始架構決策問題。Roblox 花時間測試、實驗和針對這個問題進行最佳化調整,最後才決定採用全螢幕來提供更身歷其境的遊戲體驗。
為了識別裝置,Roblox 必須決定如何在內部分類 Chromebook,因為該裝置具備筆記型電腦和平板電腦兩種可用的裝置功能,具體取決於執行的模式。由於 Chromebook 不需要與目前的裝置分類緊密貼合,因此 Roblox 建立了用於追蹤使用者參與度和效能的新類別。Chromebook 的螢幕比例和鍵盤會根據裝置的連接方式動態變更,因此 Roblox 新增了支援即時偵測螢幕和鍵盤方向的支援。
成果
Chromebook 目前順暢執行 Roblox 的 2D 應用程式和 3D 引擎,為使用者提供獨特的遊戲體驗。使用者可以切換不同裝置模式,方便應用程式在各種位置和情境中使用,還可根據控制項和輸入偏好設定輕鬆進行調整。
Roblox 首次宣布並發布對 ChromeOS 的支援時,許多開發人員和玩家社群也躍躍欲試。這個興趣成為一大群忠實玩家,他們會定期在 Chromebook 上玩 Roblox。
開始使用
瞭解如何針對 ChromeOS 最佳化應用程式。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2018-11-19 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間: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)."]]