Tuesday, 9 June 2015

Exporting For Android On The Godot Game Engine

The Godot Game Engine is an open-source alternative to the Unity game engine. It can be used to create both 2D and 3D games for a variety of platforms as shown below.

I got introduced to it last week Saturday and I am making these notes to document how to configure the engine to export to Android. The export to the Linux, Mac OSX and Windows Desktop are straight forward.

To configure the engine to export to Android, follow the following steps:
  1. Download and install the Java 6 SDK.
  2. Download and install the Android SDK
  3. Generate a debug key for signing your APK use this command in your command prompt:  keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999
  4. Launch the Godot game engine, then go to Settings. Choose install Export templates and load in the export template zip file which is available on the Godot website
  5. Now click on Editor Settings and fill in the values for your Adb, Jarsigner and Debug Keystore
For the purpose of reference, mine are
Adb: C:/Program Files (x86)/Android/android-sdk/platform-tools/adb.exe
Jarsigner: C:/Program Files (x86)/Java/jdk1.6.0_45/bin/jarsigner.exe
Debug Keystore: C:/Users/Truston Ailende/debug.keystore

1 comment:

  1. Ahaa, its good discussion on the topic of this paragraph here at this web site, I have read all that, so now me also commenting at this place.