Firemonkeys は AGDE を使用して開発とデバッグの時間を短縮
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Electronic Arts(EA)は、米国カリフォルニア州に本社を置くゲーム会社です。スポーツ、アクション、レース、シミュレーションなど、さまざまなジャンルのゲームが幅広く製造されています。EA の開発スタジオである Firemonkeys は、Real Racing 3、The Sims FreePlay、Need For Speed: No Limits のデベロッパーとしてよく知られています。Firemonkeys は、カスタム ゲームエンジンを使用してゲームを開発しています。現在は、すべての Android ゲームの開発ワークフローで Android Game Development Extension(AGDE)を使用しています。AGDE は、ビルドとデバッグのワークフローを合理化し、最終的に開発の労力とコストを削減する方法を求めていました。
図 1: 「The Sims: Freeplay」のスクリーンショット
活用方法
Firemonkeys は、AGDE を使用して、テスト用のすべての Android ビルドを生成するとともに、Android 上のネイティブ C/C++ コードをデバッグしています。このゲームビルド ワークフローには、コンパイル時間を短縮するため、プリコンパイルされたヘッダーと Unity ビルドの組み合わせが含まれています。どちらも AGDE で適切にサポートされています。Firemonkeys はデバッグの際、頻繁に AGDE を使用して C/C++ コードをデバッグします。EA のテクニカル ディレクターである Patrick Broddesson 氏は次のように述べています。「デバッグ インターフェースとパフォーマンスに満足しています。より複雑な問題が発生した際は逆アセンブル ビューを使用します。AGDE にはそのための優れたツールがあります。」プロファイリングに関しては、拡張機能自体から Android Studio Profiler をすばやく起動できるため、デバイス固有の問題を調べる際にプロファイリング プロセスを簡単かつ迅速に行えます。
Firemonkeys のエンジニアリング チームは Visual Studio にすでに精通していたため、新規または既存のプロジェクトの既存のワークフローに AGDE を数日で簡単に統合できました。「統合プロセスはシンプルで、拡張機能には、ガイダンス用のドキュメントとサンプルアプリが付属しています」と Broddesson 氏は述べています。
図 2: 進行中の AGDE デバッグ
結果
Firemonkeys では AGDE を使用することで開発環境を統合し、プラットフォームやデバイス間でビルド パイプラインを自動化できます。AGDE を使用することで、Firemonkeys の既存の Visual Studio IDE と AGDE のデバッグ インターフェースを組み合わせて、Firemonkeys の Android 開発のニーズに対応できるようになりました。Broddesson は、統合に成功し、以前のワークフローを大幅に改善したと述べています。「AGDE を使用することで、Android の新機能の開発時間と、Android 固有の複雑なバグのデバッグに要する時間を確実に削減できました。」Firemonkeys のチームは、AGDE を使用することでメンテナンスが少なくなり、新しいプロジェクト(特に Visual Studio をメイン IDE としてすでにセットアップされているクロス プラットフォーム プロジェクト)の設定時間を短縮できることがわかりました。「AGDE を使用することで最大のメリットは、異なる IDE やデバッグツール間を移動する必要がないため、エンジニアリング チームのコンテキストの切り替えを最小限に抑えることができることです。」
全体として、Firemonkeys は AGDE のビルド、デバッグ、プロファイリング ツールを使用することで、Android 固有の機能の開発コストを 10 ~ 15% 削減できると見込んでいます。Broddesson 氏は次のように述べています。「コスト削減は、チームのエンジニアリング ワークフローの障害が軽減された結果です。
始める
Android Game Development Extension を使用すると、Visual Studio で C/C++ を使用してクロス プラットフォーム ゲームをビルドするときに Android をターゲットにできます。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は 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,["# Firemonkeys reduced development and debugging time with AGDE\n\n[Electronic Arts](https://play.google.com/store/apps/dev?id=6605125519975771237)\n(EA) is a game company headquartered in California, USA. It produces a wide\nvariety of games across different genres, such as: sports, action, racing,\nand simulation. EA's development studio, Firemonkeys, is best known as the\ndeveloper of\n[Real Racing 3](https://play.google.com/store/apps/details?id=com.ea.games.r3_na),\n[The Sims FreePlay](https://play.google.com/store/apps/details?id=com.ea.games.simsfreeplay_na),\nand\n[Need For Speed: No Limits](https://play.google.com/store/apps/details?id=com.ea.game.nfs14_row).\nFiremonkeys uses a custom game engine to develop games, and now uses\n[Android Game Development Extension (AGDE)](/games/agde) in its development workflow for\nall of their Android games. The studio was looking for a way to streamline\ntheir build and debugging workflows, to ultimately save development effort\nand cost, and AGDE provided that.\n\n\n**Figure 1**: Screenshot from The Sims: Freeplay\n\nHow they use it\n---------------\n\nFiremonkeys uses AGDE to produce all of their Android builds for testing, as well as\nto debug native C/C++ code on Android. Their game building workflow\nincludes a combination of precompiled headers and\n[Unity](https://en.wikipedia.org/wiki/Single_Compilation_Unit) builds to\nimprove compile times - both of which are well supported by AGDE. For\ndebugging, Firemonkeys frequently uses AGDE to debug C/C++ code. Patrick Broddesson,\nTechnical Director at EA, said, \"We are happy with the debugging interface\nand performance. We use the disassembly view for those times when more\ncomplex issues arise, and AGDE has great tools for that.\" When it comes to\nprofiling, the ability to quickly launch Android Studio Profilers from the\nextension itself made the profiling process easier and faster when looking\ninto device specific problems.\n\nFiremonkeys' engineering team was already intimately familiar with Visual Studio,\nand integrating AGDE into their existing workflow for a new or existing\nproject was easily achieved within a few days. \"The integration process is\nsimple, and the extension comes with documentation and sample apps for\nguidance,\" said Broddesson.\n\n\n**Figure 2**: AGDE debugging in progress\n\nResults\n-------\n\nUsing AGDE allows Firemonkeys to unify development environments, and automate build\npipelines across platforms and devices. AGDE enabled Firemonkeys to take advantage\nof their existing Visual Studio IDE together with AGDE's debugging\ninterfaces to address Firemonkeys' Android development needs. Broddesson states\nthat the integration has been successful and a marked improvement over\ntheir previous workflows. \"Using AGDE has most definitely reduced the\ndevelopment time of new Android features, as well as the time spent\ndebugging complex Android specific bugs.\" The Firemonkeys team found that using AGDE\nresulted in less maintenance, and quicker setup time for new projects,\nespecially for cross-platform projects that are already setup with Visual\nStudio as the main IDE. \"The biggest win for us from using AGDE is that we\ncan minimize context switching for our engineering team by not having to\nmove between different IDEs and debugging tools.\"\n\nOverall, Firemonkeys expects that using AGDE's building, debugging, and profiling\ntools will reduce the development costs for Android specific features by\n10-15%. \"The cost savings result from reducing obstacles in engineering\nworkflows for our teams\", said Broddesson.\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."]]