Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Cocos Creator è un motore di gioco multipiattaforma
utilizzato da molti sviluppatori in tutto il mondo. Consente di creare applicazioni e giochi 2D e 3D
con grande efficienza.
Procedura per la creazione di un gioco per Android in Cocos Creator
Per utilizzare Cocos Creator per creare il tuo gioco per la piattaforma Android, procedi nel seguente
modo:
Avvia la dashboard di Cocos. Vai alla scheda Editor e fai clic su Scarica per aggiungere una versione di Cocos Creator. Ti consigliamo vivamente di
utilizzare la versione più recente, se possibile.
Vai alla scheda Progetto e fai clic su Nuovo per creare un nuovo progetto
Cocos Creator.
Scegli una versione dell'editor, inserisci il nome del progetto, seleziona una località in cui archiviare e fai clic su Crea.
Compila e genera l'applicazione Android in Android Studio.
Funzionalità importanti
Google Play Instant
Con Google Play Instant, gli utenti possono
utilizzare un'app o un gioco senza prima installarlo. Aumenta il coinvolgimento con la tua
app per Android o aumenta le installazioni mostrando la tua app istantanea sul
Play Store e nell'app Google Play Giochi. Per scoprire come funziona in Cocos Creator,
consulta l'articolo Pubblicare il gioco come app Google Play Instant in Cocos
Creator.
Android App Bundle (AAB)
Un Android App Bundle (o AAB) è un formato di pubblicazione che include tutto il codice e le risorse compilati dell'app e che definisce la generazione e la firma degli APK su Google Play. Per maggiori dettagli, consulta l'articolo Pubblicare il gioco con Android App Bundle in Cocos Creator.
Scambio
La libreria di pacing dei frame Android, nota anche come Swappy, fa parte dell'SDK Android Game. Consente ai giochi OpenGL e Vulkan di ottenere un rendering fluido e un corretto pacing dei frame su Android.
Gli sviluppatori possono attivare facilmente Swappy in Cocos Creator selezionando la casella di controllo "Attiva Swappy" nel riquadro di compilazione.
Vulkan, un'API multipiattaforma a basso costo per grafica 3D ad alte prestazioni, è supportata in Cocos Creator come uno dei backend dell'API grafica. Gli sviluppatori possono selezionare
Vulkan come API grafica per Android dal riquadro di creazione in
Cocos Creator.
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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."]]