This repository contains sample projects demonstrating various aspects of developing games for Android. A description of the high-level directories in this repo follows:
See the agdk/README.md file for descriptions of individual samples.
- agdk/ (C/C++) - These samples demonstrate integration and use of
the Android Game Development Kit libraries.
- agdk/agde (C/C++) - These samples demonstrate use of the Android Game Development Extension.
- agdk/agdktunnel (C/C++) - This is a sample game that uses multiple AGDK libraries.
- agdk/adpf (C/C++) - This sample demonstrates the use of the Adaptive performance APIs.
- agdk/game_mode (C/C++) - This sample demonstrates use of the Game Mode API to adjust the game's graphic fidelity according to the user's preference.
TrivialKart is a sample game demonstrating use of Google Play technologies on Android.
TrivialKart is currently available for the Godot game engine and the Unity engine.
Demonstrates use of Google Play Billing for in-app purchases.
Demonstrates use of multiple Google Play technologies:
- Google Play Billing for in-app purchases using Unity IAP
- Google Play Games Services
- Google Play Games for PC
- Play Integrity
The googleplaygamesforpc/ directory contains samples and tools specific to Google Play Games for PC.
Example tooling to help automate configuring a Unity engine project to target Google Play Games for PC.
The unity/ directory contains samples demonstrating best practices when targeting Android with the Unity engine.
Sample project implementing best practices for power efficiency on Android when using the Unity engine for game development.
The codelabs/ directory contains two codelabs on learning how to use Play Asset Delivery for games written using C++ or the Unity engine.