關於 Cocos Creator
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Cocos Creator 是一個跨平台遊戲引擎,全球有許多開發人員都在使用。您可以利用這個遊戲引擎,以高效率方式建立 2D、3D 遊戲和應用程式。

透過 Cocos Creator 建構 Android 遊戲的步驟
如要使用 Cocos Creator 建構 Android 平台遊戲,請按照下列步驟操作:
下載並安裝 Cocos Dashboard。
啟動 Cocos Dashboard,前往「Editor」分頁,然後點選「Download」下載 Cocos Creator 的新版本。如果可以的話,我們強烈建議使用最新版本。
前往「Project」分頁,然後按一下「New」,建立新的 Cocos Creator 專案。
選擇編輯器版本,輸入專案名稱,選取要儲存的位置,然後按一下「Create」。
這樣您就可以開始建立遊戲了!
依序透過「Project」>「Build」面板,將遊戲匯出至 Android。
在 Android Studio 中編譯及產生 Android 應用程式。
重要特色
Google Play 免安裝
拜 Google Play 免安裝技術所賜,使用者可以不必先行安裝,就能使用應用程式或暢玩遊戲。您可以在 Play 商店和 Google Play 遊戲應用程式中發布免安裝應用程式,這樣不僅能提升使用者與 Android 應用程式的互動程度,安裝次數也能有所增加。如要瞭解在 Cocos Creator 中的操作方式,請參閱「透過 Cocos Creator 將遊戲發布為 Google Play 免安裝應用程式」。
Android App Bundle (AAB)
Android App Bundle (或稱 AAB) 是一種發布格式,其中包含應用程式經編譯的所有程式碼和資源,可將產生及簽署 APK 的作業交由 Google Play 處理。詳情請參閱「在 Cocos Creator 中以 Android App Bundle 格式發布遊戲」。
Swappy
Android Frame Pacing 程式庫 (又稱為 Swappy) 是 Android Game SDK 的一部分。這個程式庫可讓 OpenGL 和 Vulkan 遊戲在 Android 裝置上流暢地呈現畫面,並修正影格同步情形。
如果開發人員要在 Cocos Creator 啟用 Swappy,只需勾選「Build」面板中的「Enable Swappy」核取方塊。
詳情請參閱Frame Pacing 程式庫的 Google 說明文件。
Vulkan
Vulkan 是一款低負載的跨平台 API,可用於製作高品質 3D 圖像。Cocos Creator 支援 Vulkan 進行圖像 API 後端的相關作業。開發人員可以在 Cocos Creator 的「Build」面板中選取 Vulkan 做為 Android 的圖像 API。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# About Cocos Creator\n\n[Cocos Creator](https://www.cocos.com) is a cross-platform game\nengine used by many developers all over the world. It helps you create 2D and 3D\ngames and applications with great efficiency.\n\nSteps to build a game for Android in Cocos Creator\n--------------------------------------------------\n\nTo use Cocos Creator to build your game for Android platform, follow these\nsteps:\n\n1. [Download](https://www.cocos.com/en/creator/download) and\n [install](https://docs.cocos.com/creator/manual/en/getting-started/install/)\n the **Cocos Dashboard**.\n\n2. Launch the **Cocos Dashboard** . Go to the **Editor** tab and click\n **Download** to add a version of the Cocos Creator. We highly recommend that\n you use the latest version if possible.\n\n3. Go to the **Project** tab and click **New** to create a new Cocos Creator\n project.\n\n4. Choose an editor version, input your project name, select a location to\n store, and then click **Create** .\n\n5. You are good to go for creating your game!\n\n6. [Export your game to\n Android](https://docs.cocos.com/creator/manual/en/editor/publish/native-options.html#build-for-android)\n using the **Project \\\u003e Build** panel.\n\n7. Compile and Generate the Android application in Android Studio.\n\nNotable features\n----------------\n\n### Google Play Instant\n\nWith [Google Play Instant](/topic/google-play-instant), people can\nuse an app or game without installing it first. Increase engagement with your\nAndroid app or gain more installs by surfacing your instant app across the Play\nStore and Google Play Games app. To see how it works in Cocos Creator,\nrefer to [Publish your game as Google Play Instant app in Cocos\nCreator](/games/engines/cocos/cocos-playinstant).\n\n### Android App Bundle (AAB)\n\nAn Android App Bundle (or AAB) is a publishing format that includes all your\napp's compiled code and resources, and defers APK generation and signing to\nGoogle Play. For more details, refer to [Publish your game with Android\nApp Bundle in Cocos Creator](/games/engines/cocos/cocos-aab).\n\n### Swappy\n\nThe Android Frame Pacing library, also known as Swappy, is part of the [Android\nGame SDK](https://android.googlesource.com/platform/frameworks/opt/gamesdk/). It\nhelps [OpenGL](https://source.android.com/docs/core/graphics/arch-egl-opengl)\nand [Vulkan](https://source.android.com/docs/core/graphics/arch-vulkan) games\nachieve smooth rendering and correct frame pacing on Android.\n\nDevelopers can easily activate Swappy in Cocos Creator by selecting the \"Enable\nSwappy\" checkbox on the build panel.\n\nFor more information, refer to the Google document [Frame Pacing Library\nOverview](https://source.android.com/docs/core/graphics/frame-pacing).\n\n### Vulkan\n\n[Vulkan](https://source.android.com/docs/core/graphics/arch-vulkan), a\nlow-overhead, cross-platform API for high-performance 3D graphics, is supported\nin Cocos Creator as one of the graphics API backends. Developers can select\nVulkan as the graphics API for Android from the build panel in\nCocos Creator."]]