Amazon Fire Game Options (Legacy)

IMPORTANT Amazon Fire options are only visible for old projects, and are read-only. Amazon Fire and all other Android targets are now configured in the Android Game Options.

This section outlines the different options available to you that control how your Amazon Fire game projects will be compiled. The different sections are:

 

General

Amazon Fire General Options Part 1The first part of the General section is dedicated to the Product Information and the Build Settings. You should fill in the Product information, which includes the projects Display Name, its Package information, which consists of a Domain, Company and Product. The package information can only be made up of letters from A-Z and numbers 0-9, with no symbols or other special characters at all, nor should it have uppercase characters. These details will then be used to generate a Package ID with the format "com.company.myappname".

NOTE: If you have already set up the Android target Game Options, you can click the "Sync from Android" button at the top to transfer the relevant information from the Android target to the Amazon Fire.

You then need to set the Build Tools as well as the Target, Minimum and Compile SDK versions.

NOTE: There is also an option for the "Support Library" version to use. From GameMaker v2.2.4 and above, this is no longer required and any values used here will be ignored. The setting is maintained for use with legacy projects that require an earlier runtime than 2.2.4.

The Build Tools (and Support Library if required) are used when GameMaker builds your game for the Android/Amazon Fire target and should be set to appropriate values based on the tools you have installed using Android Studio.

You can select from one of the predefined target settings by clicking on the Pre-populate SDK values to chosen API level button, which will open a list of different APIs to choose from. Selecting any one of them will populate all the SDK files with appropriate values which you can then use or edit as required.

NOTE: You must have installed the appropriate APIs in the Android SDK Manager or through Android Studio for your projects to compile correctly.

Amazon Fire General Options Part 2The second part of the General section covers the different Orientations that your game can be run on for the best user experience. The available options are:

Finally you have the following miscellaneous options:

You can also set the Amazon Fire Sleep Margin here. This option is related to reducing stuttering when running your game on specific systems. Basically, if your game is running faster than your room speed GameMaker will "sleep" for the remaining time, but this sleep can be quite inaccurate and you can often end of sleeping for longer than necessary, causing your frame to take longer which causes stuttering. To get around this we can sleep for less time, then sit in a tight loop for the remainder of the time to make it more accurate - although the problem with sitting in a loop is that it causes CPU usage to increase, which in turn can cause your CPU temperatures to rise and your device to use more battery. By default, this value is set to 4, and in 99.99% of the cases you'll be fine with this, but for low end devices or for devices with a lot of background processes running this may not be an ideal solution and a value of 5 up to 10 may be required. Note though that this is very much a device specific configuration and what works on your build device may not be appropriate for another user, and as such if in doubt leave it set to 4.

 

Graphics

Amazon Fire Graphics OptionsHere you can change the following details related to how your game will be displayed, with the following options are available:

Finally there is the option to set the size of the texture page. The default (and most compatible) size is 2048x2048, but you can choose from anywhere between 256x256 up to 8192x8192. There is also a button marked Preview which will generate the texture pages for this platform and then open a window so that you can see how they look. This can be very useful if you wish to see how the texture pages are structured and to prevent having texture pages larger (or smaller) than necessary. For more information on texture pages, please see here.

NOTE: Be aware that the larger the size of the texture page, the less compatible your game will be with different browsers and devices.

 

Icons

Amazon Fire Icons OptionsThis section permits you to add the various Icon images that your project will need for the different store pages and devices. All icon images should be created as 24bit *.png files of the appropriate sizes given.

It is worth noting that GameMaker has a Project Image Generator tool which can be used to automatically create all the images required for all the different target platforms your game is being compiled to. If you use this tool, you should revise the images created to ensure that they are what you require. The tool will generate Icons as well as Images (see the section below).

 

Images

Amazon Fire Images OptionsHere you can set the Border Colour that will be used as the background for splash screens that are not set to fill the full screen. You can also add Splash Screens to your final game file, for both landscape and portrait modes, which will be shown while the game loads on the device. This screen should be a 24bit *.png file, and is recommended to be the same size as the first room (or view) of your game. If you require that the splash screen be shown for a specific time then you can also set it here from 0 to 10 seconds (the default time of 0 means that it will only show for the duration of the asset loading). You can also set how the splash screen should be displayed from the following options:

Finally you can set the Banner Image, which is also a 24bit *.png.

 

Permissions

Amazon Fire Permissions OptionsFrom this tab you can change some of the permissions that your game may request within the Amazon Fire Manifest. GameMaker will allocate permissions automatically as required based on the functions the game uses, however you may find you require a permission for your game that hasn't been correctly assigned (for example, when you use custom extensions) in which case tick the requisite permission box.

The list below outlines those permissions that are available:

NOTE: If you are not sure that you need these, you should probably just leave them un-checked by default and let GameMaker deal with the permissions for your game.

The Amazon Fire Permissions secton also has an area where you can inject permissions into the Android Application Tags in the Androidmanifest.xml. You can find a full list of available tags from the Android documentation here:

It is worth noting that for target API 28 and above, you will no longer be permitted to use any external web calls using "http" - "https" is required instead - unless you add the following tag:

android:usesCleartextTraffic = "true"