Getting started with Tier 2

Overview

Tier 2 provides you with the ability to use the AGK command set within a C++ application. This is an ideal option in many cases, for example:

The downside is that compared to Tier 1 there is an extra level of difficulty in terms of setting up projects and compiler settings etc. However, if you are already familiar with C++ then it's highly likely that you'll be up and running in Tier 2 within a short space of time.

A collection of template projects and C++ libraries are provided for Tier 2 applications, a dialog box will prompt you for a location to install these files when you first run the AGK IDE. You can refresh these files manually by using the Tools -> Install Addiitonal Files menu option. Once installed you will see four folders:

Templates

The apps folder contains projects suitable for the current platform, for example the Windows version contains projects for Windows, Android, and Blackberry, whilst the Mac version contains projects for Mac, iOS, Android, and Blackberry. Additionally there are some special projects listed below

All of these projects use relative paths to link to libraries and include files, so if you create a copy of a project and move it elsewhere please bear in mind you will need to alter these paths.

Library files

Most platforms contain a single library compiled in release mode that can be compiled into both Debug and Release projects. The exception is Windows which has both a Debug and Release library which must match your project's current build configuration. For example, if you enter the Windows folder, you will see a folder named Lib, go into here and there will be two folders; Debug and Release that contain the library files. Your debug configuration should link to the one in the Debug folder and your release configuration should link to the one in the Release folder.

Conclusion

For more details on each platform please return to the Guides section of the documentation and select the appropriate Tier 2 platform link.