GameOn Code Samples
Amazon provides the following code samples for your convenience.
By downloading the GameOn code samples, you agree to our Program Materials License Agreement.
Samples may include third-party software that is copyrighted by other parties and is subject to separate license terms. Information on that software and the applicable copyright notices and license terms are included in the sample files.
The initial version of the cryptography code samples is now deprecated. This version is applicable only to games that were registered before Aug 15, 2018. Download the Cryptography code samples (deprecated).
For new games that you register after Aug 14, 2018, the GameOn advanced security authentication requires you to generate longer keys (2048 bits) for your players and use OAEP (a padding mechanism) while encrypting and decrypting. These changes are reflected in the following new version of the cryptography code samples:
You can download our Android sample quiz game that includes integration with GameOn.
Details of the quiz game integration with GameOn is covered in our Android Tutorial.
Use the Amazon GameOn extension and Demo project for GameMaker to access the Amazon GameOn API from GameMaker Studio.
The GameOn Unity Starter Kit demonstrates how to easily call the GameOn REST APIs from Unity.
The GameOn Sample Unity Game that demonstrates how to integrate the various features of GameOn into a real-life game.