mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-06 16:04:29 +01:00
Updated Mobile (markdown)
parent
3feb146873
commit
d6f0ca37c4
@ -14,22 +14,22 @@ Ebiten automatically records all drawing command history and pixel data, and the
|
|||||||
|
|
||||||
# How to build an application (`gomobile build`)
|
# How to build an application (`gomobile build`)
|
||||||
|
|
||||||
Note that you need to specify build tag `gomobilebuild` so far when you use `gomobile build`.
|
Simply run `gomobile build`.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
gomobile build -tags=gomobilebuild github.com/yourname/yourgame
|
gomobile build github.com/yourname/yourgame
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to run Ebiten examples that require `examples` build tags, run
|
If you want to run Ebiten examples that require `examples` build tags, run
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
gomobile build -tags="gomobilebuild examples" github.com/hajimehoshi/ebiten/examples/paint
|
gomobile build -tags=examples github.com/hajimehoshi/ebiten/examples/paint
|
||||||
```
|
```
|
||||||
|
|
||||||
`gomobile install` builds and installs a package to your Android device. If you want to build and install go-inovation on Android at the same time, run
|
`gomobile install` builds and installs a package to your Android device. If you want to build and install go-inovation on Android at the same time, run
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
gomobile install -tags=gomobilebuild github.com/hajimehoshi/go-inovation
|
gomobile install github.com/hajimehoshi/go-inovation
|
||||||
```
|
```
|
||||||
|
|
||||||
And you can find go-inovation runs on your Android device.
|
And you can find go-inovation runs on your Android device.
|
||||||
|
Loading…
Reference in New Issue
Block a user