TheGameCreators / AGKRepo

New Home of AGK Source Code for 2024 and Beyond
18 stars 17 forks source link

AGK Repository

New Home of AGK Source Code for 2024 and Beyond.

WINDOWS PC INSTRUCTIONS

The following instructions require Windows 10 or above:

Pre-requisites to compile AGK Studio

Ensure the following are installed with particular attention to the versions:

Notes on project settings

New APKs submitted to the Google Store require API 33 (Android 13) since August 2023: https://developer.android.com/google/play/requirements/target-sdk Small changes to any pre-API 33 projects include:

Sequence to build AGK Studio

You need to open in Android Studio and build these projects once before attempting to compile AGK:

Setup all environment variables

Prerequisite Zip Files (SDK files not part of repository, download separately from Release area)

Your Own Keystore file

Compile AGK in Visual Studio 2022

MAC INSTRUCTIONS

The following instructions require a modern Mac or Mac-Mini:

Pre-requisites to compile the Apple binaries

Ensure the following are installed:

Sequence to build Apple binaries

LINUX INSTRUCTIONS

The Linux source code is not supported in the AGKREPO at this time. * Linux version of AGK Studio downloaded from Steam, Tier 2 Android contains a bat file to start compiling C++ code, instead of an sh script.

How to Implement Tracking Transparency

App tracking transparency was implemented a few years ago using the external command functionality. Here's how to use it:

supportsIDFA = ExternalSDKSupported ( "idfatracking" ) if ( supportsIDFA ) ExternalCommand ( "idfatracking", "requestconsent", "", "" )

while ( ExternalCommandInt ( "idfatracking", "trackingallowed", "", "" ) < 0 )
    sync ( )
endwhile

endif