Defold는 독립형 애플리케이션으로 배포됩니다. 설치 프로세스는 필요하지 않습니다. 다운로드 파일의 압축을 풀면 그대로 실행할 수 있습니다.
모바일 게임 템플릿을 사용하여 프로젝트 만들기
Defold에는 새 프로젝트를 만들 때 사용할 수 있는 다양한 템플릿이 포함되어 있습니다.
Mobile Game 템플릿은 Android용 프로젝트를 만들 때 유용합니다.
이 템플릿을 선택하면 자리표시자 애플리케이션 아이콘 파일이 자동으로 생성되고 크기 설정, 방향 설정, 입력 바인딩이 구성됩니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2023-09-20(UTC)
[[["이해하기 쉬움","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"]],["최종 업데이트: 2023-09-20(UTC)"],[],[],null,["# Install Defold and configure projects for Android\n\nThis guide covers the following steps:\n\n- Selecting a version of Defold\n- Downloading and installing Defold\n- Creating a new project using the mobile template\n- Configuring Android specific Defold project settings\n\nSelect a version\n----------------\n\nUse the latest stable release of Defold when possible. For Android development,\nuse version 1.2.181 or higher.\n| **Note:** Starting in August 2021, Google Play will require all Android apps to be submitted as Android App Bundles, and to use a target API level of 30 or higher. Defold 1.2.181 or higher meets these requirements. For more information, see the [Target API Level](/distribute/best-practices/develop/target-sdk) page.\n\nDownload and run Defold\n-----------------------\n\nVisit the [Defold download page](https://defold.com/download/)\nto download the game engine for your preferred environment.\n\nDefold is distributed as a standalone application. It does not require an installation process; after extracting the download archive, you can run it as-is.\n\nCreate a project using the mobile game template\n-----------------------------------------------\n\nDefold includes a variety of templates you can use when creating a new project.\nThe **Mobile Game** template is useful when making a project for Android.\nChoosing this template automatically creates placeholder application icon files,\nand configures size settings, orientation settings, and\n[input bindings](https://defold.com/manuals/input/#setting-up-input-bindings).\n\nTo create a new project using the Mobile Game template, do the following:\n\n1. Launch the [Defold editor](https://defold.com/manuals/editor/).\n2. Click **New Project** , and make sure the **From Template** tab is selected.\n3. Choose the **Mobile Game** template from the list.\n4. Specify a name and location for the new project.\n5. Click **Create New Project**.\n\n**Figure 1.** Selecting the **Mobile Game** template when creating a new project\n\nConfigure projects for Android\n------------------------------\n\nDefold supports a number of Android-specific settings for a Defold project.\n\n- To access these settings: in the Defold editor, open the `game.project` file and scroll down to the **Android** section.\n\n**Figure 2.** Project settings for a Defold project\n\nImportant Android specific project settings group into the following categories:\n\n### Application icons\n\n**App icon** fields: Specify the application icon files. Icon files must be in\nPNG format and match the pixel size denoted in the field name.\n\n### Package information\n\n**Version Code**: Specify the package version code. Google Play requires a\nunique version code for each package submission. Attempting to use a version\ncode that is lower than a previously submitted version code results in an error.\n\n**Minimum Sdk Version**: Define the minimum Android API level supported by your\nproject.\n\n**Target Sdk Version** : Define the API level of the Android SDK used to build\nand export the project. Ensure this value is compliant with\nGoogle Play [target API requirements](/distribute/best-practices/develop/target-sdk).\n\n**Package**: Specify the package identifier of the application. This should match\nthe package identifier created in the Google Play Console.\n\n**Manifest setting** : Specify the `AndroidManifest.xml` file that will be used\nto create the application manifest. Defold automatically generates a default\nmanifest file for this setting and populates it with values from the project settings.\n\n### Other settings\n\n**Immersive Mode**: If selected, this option hides the navigation and status bars\nwhen the application is active.\n\n**Debuggable** : If selected, this option sets the `android:debuggable` field in the\nAndroid manifest during export.\n\nAdditional resources\n--------------------\n\n- [Defold manual - Android development](https://defold.com/manuals/android/)\n- [Defold manual - Project settings](https://defold.com/manuals/project-settings)"]]