Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Cocos Creator ist eine plattformübergreifende Spiele-Engine, die von vielen Entwicklern auf der ganzen Welt eingesetzt wird. Sie können damit sehr effizient 2D- und 3D-Spiele und -Anwendungen erstellen.
Schritte zur Entwicklung eines Spiels für Android in Cocos Creator
So verwenden Sie Cocos Creator zum Erstellen Ihres Spiels für die Android-Plattform:
Öffnen Sie das Cocos-Dashboard. Wechseln Sie zum Tab Editor und klicken Sie auf Herunterladen, um eine Version von Cocos Creator hinzuzufügen. Wir empfehlen Ihnen dringend, nach Möglichkeit die neueste Version zu verwenden.
Wechseln Sie zum Tab Project und klicken Sie auf New (Neu), um ein neues Cocos Creator-Projekt zu erstellen.
Wählen Sie eine Editorversion aus, geben Sie den Projektnamen ein, wählen Sie einen Speicherort zum Speichern aus und klicken Sie auf Erstellen.
Kompilieren und generieren Sie die Android-Anwendung in Android Studio.
Besondere Merkmale
Google Play Instant
Mit Google Play Instant können Nutzer eine App oder ein Spiel verwenden, ohne es zu installieren. Steigern Sie die Interaktion mit Ihrer Android-App oder erzielen Sie mehr Installationen, indem Sie Ihre Instant App im Play Store und in der Google Play Spiele App präsentieren. Informationen zur Funktionsweise in Cocos Creator finden Sie unter Spiel als Google Play Instant App in Cocos Creator veröffentlichen.
Android App Bundle (AAB)
Ein Android App Bundle (AAB) ist ein Veröffentlichungsformat, das den gesamten kompilierten Code und die Ressourcen Ihrer App enthält und das Generieren und Signieren von APKs bei Google Play verzögert. Weitere Informationen finden Sie unter Spiel mit Android App Bundle in Cocos Creator veröffentlichen.
Tausche
Die Android Frame Pacing-Bibliothek, auch als Swappy bezeichnet, ist Teil des Android Game SDK. Sie hilft OpenGL- und Vulkan-Spielen dabei, unter Android ein reibungsloses Rendering und eine korrekte Frame-Taktung zu erreichen.
Entwickler können Swappy in Cocos Creator ganz einfach aktivieren, indem Sie im Build-Steuerfeld das Kästchen „Swappy aktivieren“ auswählen.
Vulkan, eine plattformübergreifende API mit geringem Aufwand für leistungsstarke 3D-Grafiken, wird in Cocos Creator als eines der Graphics API-Back-Ends unterstützt. Entwickler können Vulkan als Grafik-API für Android im Build-Steuerfeld in Cocos Creator auswählen.
Alle Inhalte und Codebeispiele auf dieser Seite unterliegen den Lizenzen wie im Abschnitt Inhaltslizenz beschrieben. Java und OpenJDK sind Marken oder eingetragene Marken von Oracle und/oder seinen Tochtergesellschaften.
Zuletzt aktualisiert: 2025-07-27 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-27 (UTC)."],[],[],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."]]