From e33ef96be6d2e62e4135ad68a359a2af049bf67f Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 1 Aug 2016 23:31:29 +0900 Subject: [PATCH] Created Mobile (markdown) --- Mobile.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Mobile.md diff --git a/Mobile.md b/Mobile.md new file mode 100644 index 0000000..436c0c4 --- /dev/null +++ b/Mobile.md @@ -0,0 +1,5 @@ +Ebiten game can be built for Android and iOS by using [`gomobile bind`](golang.org/x/mobile/cmd/gomobile), which generates a shared library file (aar on Android or .framework on iOS). Note that Ebiten doesn't accept `gomobile build`, which generates an application file (apk on Android or ipa on iOS). Why Ebiten only uses `gomobile bind` is because `gomobile build` is difficult to build an actual application in Play store. `gomobile build` is very easy to use to generate an application written only in Go, but the application includes only one OpenGL surface. Even if you want to an advertisement or use inputting via the keyboard, it is almost impossible. On the other hand, `gomobile bind` generates a shared library and you'd need some glue Java code to use this, but that offers flexibility where you can do everything. + +# Actual example + +[Inovation 2007](https://github.com/hajimehoshi/go-inovation) is an actual Android/iOS game using Ebiten. This application has been released in [Play Store](https://play.google.com/store/apps/details?id=com.hajimehoshi.goinovation) and [Apple Store](https://itunes.apple.com/us/app/id1132624266). \ No newline at end of file