News

Google Releases Visual Studio Tool for Android Game Development

Google released a Visual Studio extension for creating gaming apps for Android, targeting C++ developers.

The Android Game Development Extension (AGDE) is part of the new Android Game Development Kit (AGDK), a bundle of new and existing tools and libraries for full-cycle Android game creation: development, optimization, launching and iteration. While it includes C and C++ APIs, most game development is done in C++, which provides a high-performance, close-to-the-metal alternative to stalwart Android programming languages Kotlin and Java.

"The Android Game Development Extension (AGDE) lets you add Android as a target platform in your existing Visual C++ projects, making it easier to write C/C++ games for multiple platforms," Google said.

The Android Game Development Extension (AGDE)
[Click on image for larger view.] The Android Game Development Extension (AGDE) (source: Google).

With the initial launch of the AGDE, Google said it follows three key tenets

  • Code built for game development. All libraries have been built and tested with performance in mind using C or C++ APIs.
  • Reduce fragmentation. The AGDK tools and libraries work across many different Android versions. Most of these features will work on almost any device in use today.
  • Built by Android, for Android. Features will be enhanced by future Android platform updates, and the libraries will provide backwards compatibility when possible.

and thus it decided to focus on three areas, guided by developer feedback:

  • Integrated workflows
  • C/C++ game libraries
  • Performance optimization
The Unreal Engine Mobile Team Uses the AGDE
[Click on image for larger view.] The Unreal Engine Mobile Team Uses the AGDE (source: Google).

The AGDE Visual Studio tool fits into the integrated workflow area, along with game engine integrations and plugins.

The performance optimization includes GPU profiling/debugging, profiling, performance tuning and guidance, including best practices.

Performance Optimization
[Click on image for larger view.] Performance Optimization (source: Google).

Finally, regarding those C/C++ game libraries, three new ones have been added to existing frame pacing and high-performance audio libraries:

Libraries
[Click on image for larger view.] Libraries (source: Google).
  • Game Activity is the foundation for C++ game development, providing C interfaces for all the expected Android events from screen rotation to app lifecycle. Google said it minimizes the amount of development time spent working with Java. Unlike Native Activity, Game Activity is compatible with fragments and extendable, making it easier to integrate SDKs.
  • Game Text input provides a stable way to use the software keyboard in C, that is officially supported and will work across Android versions.
  • Game Controller is a way to handle input from game controllers in C, to map their functions and to reconnect to the device when necessary.

The new kit and Visual Studio extension were announced during the July 12-13 Google for Games Developer Summit, for which more than 20 day 1 videos are available for on-demand viewing. The video for the Visual Studio extension is available here.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube