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 for Converge360.

comments powered by Disqus

Featured

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube