mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-05 15:34:28 +01:00
Updated Mobile (markdown)
parent
5fee43bb65
commit
7db96da0c6
@ -1,4 +1,4 @@
|
|||||||
Ebiten game can be built for Android and iOS by using [`gomobile bind`](https://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.
|
Ebiten game can be built for Android and iOS by using [`gomobile bind`](https://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 or Apple 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
|
# Actual example
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user