Unreal Engine을 사용한 Android 개발을 위한 'AGDE'는 정말 대단합니다!
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Unreal Engine은 Epic Games에서 개발한 게임 엔진으로, 다양한 업계의 크리에이터에게 최첨단 엔터테인먼트, 매력적인 시각화, 몰입형 가상 세상을 제공할 수 있는 자유와 제어 기능을 제공합니다. 일부 주요 Android 게임은
Unreal Engine으로 빌드됩니다.
그림 1. Pixel 4에서 실행되는 Unreal Engine Suntemple 샘플 스크린샷
Epic 및 기타 게임 개발자는 Android 스튜디오를 사용하여 C++, Kotlin 또는 자바 프로그래밍 언어를 디버깅하지만, 많은 게임 개발자에게는 Visual Studio를 중심으로 한 다른 플랫폼을 위한 개발 워크플로가 있습니다.
Unreal Engine 모바일팀은 모바일 플랫폼용 Unreal Engine의 기능 개발 및 최적화에 중점을 두고 있습니다. 팀에서는 Unreal Engine Android 개발과 Fortnite Android 디버깅 및 최적화에 Android 게임 개발 확장 프로그램 (AGDE)을 사용하고 있습니다.
사용 방식
Android 게임 개발 확장 프로그램 (AGDE)을 채택하기 전에는 Android용 디버깅 및 빌드를 Android 스튜디오에서 생성된 Gradle 프로젝트를 열고 컴파일 또는 디버깅을 위해 두 개발 환경 간에 전환해야 했습니다. 각 환경에는 고유한 키 결합 집합이 있습니다. 이로 인해 개발자의 불편함과 시간이 모두 소요되며, 특히 반복 개발의 경우 시간이 오래 걸립니다. 이제 AGDE를 사용하면 Android 게임의 전체 개발 작업 주기가 Visual Studio 내에서 이루어집니다. 새로운 개발 워크플로로 마이그레이션한 개발자는 Unreal Engine 개발이 훨씬 더 빠르고 편리하다는 것을 확인할 수 있습니다.
AGDE를 설치한 후 Unreal Engine (UE) 4.26.2 이상용 Visual Studio 프로젝트 파일을 생성할 때마다 Unreal Build 도구는 AGDE와 함께 사용할 Android 빌드 타겟도 생성합니다. 이후 Visual Studio 내의 Unreal Engine 개발 및 디버깅 환경은 PC 및 기타 플랫폼과 Android에서도 동일합니다. Visual Studio에서 F5를 누르면 AGDE가 시작되고, 그러면 C++ Android 빌드가 트리거되고 Android 애플리케이션 패키지 (APK)가 생성 또는 업데이트됩니다. 그러면 AGDE가 기기에서 C++ 디버깅 세션을 시작하므로 중단점, 감시점, 디스어셈블리 및 레지스터와 같은 익숙한 Visual Studio 디버깅 기능을 사용할 수 있습니다. 또한 AGDE 지원 Android 빌드는 Unreal Build 도구의 Incredibuild 통합을 활용하여 컴퓨터 전반에 Android C++ 코드용 분산 빌드를 제공합니다.
그림 2. Unreal Engine을 사용하는 AGDE 스크린샷
결과
"Visual Studio 중심 개발 환경을 고려할 때 AGDE를 워크플로에 통합하게 되어 매우 기뻤습니다. Fortnite 및 Unreal Engine Mobile 엔지니어가 매일 AGDE를 작업에 사용하고 있기 때문에 AGDE 사용이 성공적이라고 생각합니다."라고 Unreal Engine 모바일팀 책임자인 잭 포터가 말했습니다. "Epic은 AGDE를 통해 문제를 더 빠르고 편리하게 디버그할 수 있었으며 Visual Studio를 계속 사용하면서 이전 워크플로에 비해 크게 개선되었습니다. AGDE를 사용한 덕분에 시간이 크게 절약되었고 다른 방법으로는 발견하지 못했던 버그를 찾을 수 있었습니다."
포터는 "Epic에서 AGDE를 계속 사용할 예정이며, 모든 Unreal Engine 라이선스 수혜자를 위해 지원되는 Unreal Engine Android 개발자 워크플로로 AGDE를 권장하는 Google 문서를 포함할 계획입니다."라고 포터는 말했습니다.
Unreal Engine 모바일팀의 개발자인 Dmytro Vovk는 Unreal Engine과 Fortnite Mobile에서 매일 AGDE를 사용하고 있으며 "AGDE는 정말 멋져요! 마지막으로 어셈블리를 디버그하고 코드를 단계별로 실행할 때
레지스터가 업데이트되는 것을 확인할 수 있습니다. Visual Studio의 편안한 Android 디버깅 덕분에 일상적인 업무가 훨씬 쉬워지고 개발 흐름을 계속할 수 있게 되었습니다."
시작하기
Visual Studio에서 C/C++로 크로스 플랫폼 게임을 빌드할 때 Android 게임 개발 확장 프로그램을 사용하여 Android를 타겟팅하는 방법을 알아보세요.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2021-07-12(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"]],["최종 업데이트: 2021-07-12(UTC)"],[],[],null,["# "AGDE is freaking awesome!" for Android development with Unreal Engine\n\n[Unreal Engine](https://www.unrealengine.com/en-US/) is a game engine\ndeveloped by Epic Games that gives creators across industries freedom\nand control to deliver cutting-edge entertainment, compelling\nvisualizations, and immersive virtual worlds. Some major Android games are\nbuilt using Unreal Engine.\n\n\n**Figure 1**. Screenshot of Unreal Engine Suntemple sample running on Pixel 4\n\nEpic and other game developers use [Android\nStudio](/studio) for debugging C++, Kotlin or\nJava programming languages, but many game developers have development\nworkflows for other platforms centered around Visual Studio.\nThe Unreal Engine Mobile Team focuses on feature development and\noptimization of Unreal Engine for mobile platforms. The team has been using\nAndroid Game Development Extension (AGDE) for both Unreal Engine Android\ndevelopment and for Fortnite Android debugging and optimization.\n\nHow they use it\n---------------\n\nBefore adopting [Android Game Development Extension (AGDE)](/games/agde), debugging and\nbuilding for Android required opening the generated Gradle project in\nAndroid Studio and then switching between the two development environments\nfor compiling or debugging, each with their own sets of key bindings. This\nwas both jarring to the developer and also time-consuming, especially for\niterative development. Now with AGDE, the entire development work cycle for\nAndroid games is within Visual Studio! Developers who have migrated to the\nnew development workflow will find it is significantly faster and more\nconvenient for Unreal Engine Development.\n\nAfter installing AGDE, whenever you generate your Visual Studio project\nfiles for Unreal Engine (UE) 4.26.2 or later, Unreal Build Tool will also\ngenerate Android build targets for use with AGDE. From then on, the Unreal\nEngine development and debugging experience from within Visual Studio is\nthe same for Android as PC and other platforms. Pressing F5 inside Visual\nStudio kicks AGDE into action, which then triggers the C++ Android build\nand generates or updates the Android Application Package (APK). AGDE then\nstarts a C++ debugging session on the device, allowing the use of familiar\nVisual Studio debugging features such as breakpoints, watches, and also\nlooking at disassembly and registers. AGDE-enabled Android builds also take\nadvantage of Unreal Build Tool's Incredibuild integration to provide\ndistributed builds across computers for Android C++ code.\n\n\n**Figure 2**. Screenshot of AGDE with Unreal Engine\n\nResults\n-------\n\n\"Given our Visual Studio-centric development environment, we were very\nexcited to incorporate AGDE into our workflows. We definitely consider our\nuse of AGDE a success because Fortnite and Unreal Engine Mobile engineers\nare using AGDE daily for their work,\" said Jack Porter, Unreal Engine\nMobile Team Lead. \"AGDE allowed Epic to more quickly and conveniently debug\nissues, and staying inside Visual Studio made a significant improvement\nfrom their previous workflow. The use of AGDE has definitely saved us\nsignificant time, and helped us find bugs that otherwise could not have\nbeen found\".\n\n\"We expect to continue using AGDE at Epic, and plan to have our\ndocumentation recommend AGDE as the supported Unreal Engine Android\ndeveloper workflow for all Unreal Engine licensees,\" said Porter.\nDmytro Vovk, an Unreal Engine Mobile team developer, has been using AGDE as\npart of his daily work on Unreal Engine and Fortnite Mobile, and says \"AGDE\nis freaking awesome! Finally I can debug assembly and see registers being\nupdated as I step through the code. Android debugging from the comfort of\nVisual Studio makes my day-to-day work much easier and keeps me in my\ndevelopment flow.\"\n\nGet started\n-----------\n\nLearn how the\n[Android Game Development Extension](/games/agde)\nenables you to target Android when building cross-platform games with C/C++\nin Visual Studio."]]