Exporting for Mobile Devices

Step by step instructions for exporting to a mobile device

export button

Getting Started

To begin exporting your game, go to My Games and click the Export Mobile App button next to your game.

Mobile Considerations

It is a good idea to design your game from the start with mobile devices in mind, considering how the game controls will work with a touch screen.

  • Mouse Click: These triggers become "tap" events on mobile
  • Mouse Move: These triggers become "drag" events on mobile
  • Keyboard: These triggers do not get activated on mobile, since no keyboard is available

android logo

Export for Android

Android is the most straightforward platform to export. All you need is an icon file.

  • icon: This is your app icon that will be displayed on the device home screen when you install it. This should be a .png file, at least 512x512 pixels square. All other required sizes will be generated automatically.
Click Start Build to queue your game in the build system.

While your game is processing, the export button will be replaced by a loading bar. When the app is complete, a Download Android App button will be displayed, which links to your new app. Depending on how many games are in the queue, it can take up to an hour to complete.

Once your app is ready, you can sideload it into your device to test it, then upload it to your favorite android app store

apple logo

Export for iOS

The first step in creating an iOS app is signing up for the Apple Developer Program. This is required in order to generate the necessary cryptographic keys required to install and test on an iOS device.

Apple also has strict guidelines for approval, and your game must adhere to them, or it will be rejected from the app store.

It is also strongly recommended that you use a Mac computer for this process.

Required files:

  • icon: This is your app icon that will be displayed on the device home screen when you install it. This should be a .png file, at least 512x512 pixels square. All other required sizes will be generated automatically.
  • provisioning profile: This is created in the Developer Member Center. Make sure to include the UDID of any device you wish to install it on. Your game's app id will be listed at the top of the mobile export form - you can create the profile using that, or io.flowlab.*
  • signing certificate: This is also created in the Developer Member Center. Make sure to use a Production "App Store and Ad Hoc" certificate for builds which you want to test on a device.
  • signing key: This is the private and public key pair that was used to generate the signing certificate. Export it using the Keychain Access app on your Mac, saving it as a .p12 file with no password.
Click Start Build to queue your game in the build system.

While your game is processing, the export button will be replaced by a loading bar. When the app is complete, a Download iOS App button will be displayed, which links to your new app. Depending on how many games are in the queue, it can take up to an hour to complete.

Once your app is ready, you can install it using iTunes onto your device to test it, then rebuild using a distribution certificate to upload to the App Store. Make sure that your app is well tested, and meets the guidelines before submitting.