調整 ChromeOS 上的遊戲
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
如要調整適用於 ChromeOS 的 Android 遊戲,您需要有不同的思考方式。大螢幕和視窗式環境能為您帶來更多商機,並為使用者負起責任。專為具有觸控螢幕的小螢幕行動裝置設計的遊戲必須強化,才能在 ChromeOS 中順利運作。如果想讓 ChromeOS 遊戲順利運作,就必須支援鍵盤、滑鼠、觸控板和遊戲手把。
剖析和調整可協助您讓這些元件在整個 Android 生態系統中搭配運作。以下是一些程式碼片段、說明文件指南,以及 ChromeOS 專用的提示與秘訣,可協助您開始使用:
- 輸入支援支援鍵盤、滑鼠、遊戲控制器、即時通訊和觸控筆輸入處理。
- 大螢幕和外接螢幕提供視窗管理相關資訊。
- 「最佳化顯示大小」一文說明瞭如何判斷算繪畫面解析度。
- 「發布注意事項」討論了 x86/ARM 支援,包括能正確封裝 32 位元和 64 位元的支援,以達成高效能。
- 多人遊戲網路涵蓋了多人遊戲的網路支援。
- 效能剖析說明如何在遊戲中剖析及找出效能瓶頸。
- 遊戲引擎提供實用資源和提示,協助您使用最常見的遊戲引擎 Unity。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Adapt games on ChromeOS\n\nAdapting Android games for ChromeOS requires you to think about your game\ndifferently. Large screens and a windowed environment bring both opportunities\nfor you and responsibilities toward the user. Games designed for small-screen\nmobile devices with touch screens must be enhanced to run well on ChromeOS.\nKeyboard, mouse, trackpad, and gamepad support are all needed if you want your\nChromeOS game to succeed.\n\nProfiling and tuning can help you get these components working together\nacross the Android ecosystem. Here are some code snippets, pointers to\ndocumentation, and ChromeOS-specific tips and tricks to help you get started:\n\n- [Input support](https://chromeos.dev/en/games/optimizing-games-inputs) covers keyboard, mouse, game controller, chat, and stylus input handling.\n- [Large screens and external displays](https://chromeos.dev/en/games/optimizing-games-windowing) has information about window management.\n- [Optimizing display size](https://chromeos.dev/en/games/optimizing-games-display) explains how to determine display resolution for rendering.\n- [Publishing considerations](https://chromeos.dev/en/games/optimizing-games-publishing) discusses x86/ARM support, including properly packaging 32- and 64-bit support to achieve high performance.\n- [Multiplayer networking](https://chromeos.dev/en/games/optimizing-games-networking) covers network support for multiplayer games.\n- [Performance profiling](https://chromeos.dev/en/games/optimizing-games-profiling) explains how to profile and find performance bottlenecks in your game.\n- [Game engines](https://chromeos.dev/en/games/optimizing-games-engines) offers resources and tips for using the most common game engine, Unity."]]