mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 11:12:44 +01:00
Created Mobile (markdown)
parent
4fef4b1dc8
commit
e33ef96be6
5
Mobile.md
Normal file
5
Mobile.md
Normal file
@ -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).
|
Loading…
Reference in New Issue
Block a user