Firemonkeys đã giảm thời gian phát triển và gỡ lỗi nhờ AGDE
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Electronic Arts (EA) là một công ty trò chơi có trụ sở tại California, Hoa Kỳ. Công cụ này tạo ra nhiều trò chơi thuộc nhiều thể loại, chẳng hạn như: thể thao, hành động, đua xe và mô phỏng. Firemonkeys, xưởng phát triển của EA, được biết đến nhiều nhất với tư cách là nhà phát triển của Real Racing 3, The Sims FreePlay và Need For Speed: No Limits.
Firemonkeys sử dụng một công cụ phát triển trò chơi tuỳ chỉnh để phát triển trò chơi và hiện sử dụng Android Game Development Extension (AGDE) trong quy trình phát triển cho tất cả trò chơi Android của họ. Hãng phim này đang tìm cách đơn giản hoá quy trình xây dựng và gỡ lỗi, để cuối cùng tiết kiệm được công sức và chi phí phát triển, và AGDE đã cung cấp điều đó.
Hình 1: Ảnh chụp màn hình từ The Sims: Freeplay
Cách họ sử dụng
Firemonkeys sử dụng AGDE để tạo tất cả các bản dựng Android của họ để kiểm thử, cũng như để gỡ lỗi mã C/C++ gốc trên Android. Quy trình xây dựng trò chơi của họ bao gồm sự kết hợp giữa các tiêu đề được biên dịch trước và bản dựng Unity để cải thiện thời gian biên dịch – cả hai đều được AGDE hỗ trợ tốt. Để gỡ lỗi, Firemonkeys thường sử dụng AGDE để gỡ lỗi mã C/C++. Patrick Broddesson, Giám đốc kỹ thuật của EA, cho biết: "Chúng tôi hài lòng với giao diện gỡ lỗi và hiệu suất. Chúng tôi sử dụng chế độ xem tháo rời khi các vấn đề phức tạp hơn phát sinh và AGDE có các công cụ tuyệt vời cho việc đó". Khi nói đến việc phân tích tài nguyên, khả năng nhanh chóng khởi chạy Trình phân tích tài nguyên Android Studio từ chính tiện ích này đã giúp quá trình phân tích tài nguyên trở nên dễ dàng và nhanh chóng hơn khi xem xét các vấn đề cụ thể về thiết bị.
Nhóm kỹ sư của Firemonkeys đã rất quen thuộc với Visual Studio và việc tích hợp AGDE vào quy trình làm việc hiện có của họ cho một dự án mới hoặc hiện có đã được thực hiện dễ dàng trong vòng vài ngày. "Quy trình tích hợp rất đơn giản và tiện ích này đi kèm với tài liệu và ứng dụng mẫu để hướng dẫn", Broddesson nói.
Hình 2: Quá trình gỡ lỗi AGDE đang diễn ra
Kết quả
Việc sử dụng AGDE cho phép Firemonkeys hợp nhất các môi trường phát triển và tự động hoá quy trình xây dựng trên các nền tảng và thiết bị. AGDE cho phép Firemonkeys tận dụng IDE Visual Studio hiện có cùng với các giao diện gỡ lỗi của AGDE để giải quyết nhu cầu phát triển Android của Firemonkeys. Broddesson cho biết việc tích hợp đã thành công và cải thiện đáng kể so với quy trình làm việc trước đây. "Việc sử dụng AGDE chắc chắn đã giảm thời gian phát triển các tính năng mới của Android, cũng như thời gian gỡ lỗi các lỗi phức tạp dành riêng cho Android." Nhóm Firemonkeys nhận thấy rằng việc sử dụng AGDE giúp giảm thiểu việc bảo trì và rút ngắn thời gian thiết lập cho các dự án mới, đặc biệt là đối với các dự án đa nền tảng đã được thiết lập với Visual Studio làm IDE chính. "Lợi ích lớn nhất của chúng tôi khi sử dụng AGDE là có thể giảm thiểu việc chuyển đổi ngữ cảnh cho nhóm kỹ sư bằng cách không phải di chuyển giữa các IDE và công cụ gỡ lỗi."
Nhìn chung, Firemonkeys dự kiến rằng việc sử dụng các công cụ tạo bản dựng, gỡ lỗi và lập hồ sơ của AGDE sẽ giúp giảm 10-15% chi phí phát triển cho các tính năng dành riêng cho Android. "Chi phí tiết kiệm được là nhờ giảm các rào cản trong quy trình kỹ thuật cho các nhóm của chúng tôi", Broddesson nói.
Bắt đầu
Tìm hiểu cách Android Game Development Extension cho phép bạn nhắm đến Android khi xây dựng trò chơi trên nhiều nền tảng bằng C/C++ trong Visual Studio.
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2021-07-12 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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."]]