mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Updated Android (markdown)
parent
e33ef96be6
commit
3bb50e5dbd
@ -1,8 +1,4 @@
|
|||||||
Ebiten game can be built for Android by using [`gomobile bind`](golang.org/x/mobile/cmd/gomobile), which generates an aar shared library file. Note that Ebiten doesn't accept `gomobile build`, which generates an apk application file. 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.
|
See the document [[Mobile]] for details common in Android and iOS.
|
||||||
|
|
||||||
# Actual example
|
|
||||||
|
|
||||||
[Inovation 2007](https://github.com/hajimehoshi/go-inovation) is an actual Android game using Ebiten. See [the Android Studio project](https://github.com/hajimehoshi/go-inovation/tree/master/mobile/android). This application has been released in [Play store](https://play.google.com/store/apps/details?id=com.hajimehoshi.goinovation).
|
|
||||||
|
|
||||||
# How to build an Android application
|
# How to build an Android application
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user