قلّل Firemonkeys من وقت التطوير وتصحيح الأخطاء باستخدام AGDE
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
Electronic Arts
(EA) هي شركة ألعاب يقع مقرها في كاليفورنيا بالولايات المتحدة الأمريكية. وهي تنتج مجموعة متنوعة من الألعاب من مختلف الأنواع، مثل: الرياضة، والحركة، والسباقات، والمحاكاة. يُعرف استوديو التطوير التابع لشركة EA باسم Fire أدىs إلى تطوير ألعاب
Real Racing 3
وThe Sims FreePlay
و
Need For Speed: Nolimits.
تستخدم شركة Firemonkeys محرك ألعاب مخصّصًا لتطوير الألعاب، ويستخدم الآن
Android Game Development Extension (AGDE) في سير عمل تطويره
لجميع ألعاب Android الخاصة بهم. كان الاستوديو يبحث عن طريقة لتبسيط سير عمل الإنشاء وتصحيح الأخطاء، لتوفير جهود التطوير والتكلفة
في النهاية، وقد قدمت AGDE ذلك.
الشكل 1: لقطة شاشة من فيلم The Sims: Freeplay
طريقة الاستخدام
تستخدم شركة Firemonkeys AGDE لإنتاج جميع إصدارات Android للاختبار، فضلاً عن تصحيح أخطاء كود C/C++ الأصلي على Android. يتضمن سير عمل تصميم الألعاب
مزيجًا من العناوين المجمّعة مسبقًا ونماذج
Unity بهدف
تحسين أوقات التجميع، وكلاهما متوافق بشكل جيد من خلال AGDE. لتصحيح الأخطاء، تستخدم Firemonkeys غالبًا AGDE لتصحيح أخطاء كود C/C++. وقال باتريك برودسون،
المدير الفني في EA: "نحن سعداء بواجهة تصحيح الأخطاء
والأداء. نحن نستخدم طريقة التفكيك في تلك الأوقات التي تظهر فيها مشاكل أكثر تعقيدًا، وتملك AGDE أدوات رائعة لذلك". بخصوص الملفات الشخصية، إنّ القدرة على تشغيل "ملفات تعريف استوديو Android" بشكل سريع من خلال الإضافة نفسها جعلت عملية التحليل أسهل وأسرع عند البحث عن مشاكل خاصة بالجهاز.
كان فريق مهندسي Firemonkeys على دراية وثيقة بـ Visual Studio،
وتم دمج AGDE في سير العمل الحالي لمشروع جديد
أو قائم بسهولة في غضون أيام قليلة. وقال "برودسون": "عملية الدمج بسيطة، وتقدّم الإضافة وثائق ونماذج تطبيقات للإرشاد".
الشكل 2: تصحيح أخطاء AGDE قيد التقدم
النتائج
يتيح استخدام AGDE لـ Firemonkeys توحيد بيئات التطوير وتشغيل مسارات التعلّم آليًا عبر الأنظمة الأساسية والأجهزة. أتاحت AGDE لـ Firemonkeys الاستفادة من بيئة Visual Studio IDE الحالية مع واجهات تصحيح الأخطاء
في AGDE لتلبية احتياجات تطوير Android لـ Firemonkeys. يذكر "بروديسون" أن الدمج كان ناجحًا وتحسّنًا ملحوظًا مقارنة بسير العمل السابق. "لقد ساعد استخدام AGDE على الأرجح في تقليل الوقت الذي يستغرقه تطوير ميزات Android الجديدة، بالإضافة إلى تقليل الوقت المستغرق في تصحيح أخطاء Android المعقدة". وجد فريق Firemonkeys أن استخدام AGDE يؤدي إلى صيانة أقل، ووقت إعداد أسرع للمشروعات الجديدة،
خاصةً للمشاريع عبر المنصات التي تم إعدادها بالفعل باستخدام Visual
Studio باعتباره بيئة التطوير الرئيسية (IDE). "إن أكبر مكسب لنا من استخدام AGDE هو أنه يمكننا تقليل تبديل السياق بالنسبة إلى فريقنا الهندسي من خلال عدم الحاجة إلى الانتقال بين IDE المختلفة وأدوات تصحيح الأخطاء".
بشكل عام، تتوقع شركة Firemonkeys أن استخدام أدوات الإنشاء وتصحيح الأخطاء وتحديد الملفات الشخصية
من AGDE سيؤدي إلى تقليل تكاليف تطوير ميزات Android الخاصة
بنسبة 10 إلى 15%. قال برودسون: "يؤدي توفير التكاليف إلى تقليل العقبات التي تواجه فرقنا
في سير العمل الهندسي".
البدء
تعرَّف على الطريقة التي تمكّنك
إضافة تطوير ألعاب Android
من استهداف Android عند إنشاء ألعاب تعمل على أنظمة أساسية مختلفة باستخدام لغة C/C++ في Visual Studio.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2021-07-12 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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."]]