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

  • Microsoft Revamps Fledgling AutoGen Framework for Agentic AI

    Only at v0.4, Microsoft's AutoGen framework for agentic AI -- the hottest new trend in AI development -- has already undergone a complete revamp, going to an asynchronous, event-driven architecture.

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

  • Microsoft Execs to Tackle AI and Cloud in Dev Conference Keynotes

    AI unsurprisingly is all over keynotes that Microsoft execs will helm to kick off the Visual Studio Live! developer conference in Las Vegas, March 10-14, which the company described as "a must-attend event."

Subscribe on YouTube