mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 05:38:20 -06:00
Merge branch 'master' of https://github.com/griffi-gh/kubi
This commit is contained in:
commit
b3a85a85aa
22
README.md
22
README.md
|
@ -19,6 +19,7 @@
|
||||||
<li>work-in-progress multiplayer support</li>
|
<li>work-in-progress multiplayer support</li>
|
||||||
<li>block placement system</li>
|
<li>block placement system</li>
|
||||||
<li>partial gamepad input support</li>
|
<li>partial gamepad input support</li>
|
||||||
|
<li>(experimental) android support</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -29,15 +30,26 @@
|
||||||
|
|
||||||
build/run
|
build/run
|
||||||
|
|
||||||
```sh
|
```bash
|
||||||
cargo build -p kubi
|
cargo build --bin kubi
|
||||||
cargo run -p kubi
|
cargo run --bin kubi
|
||||||
```
|
```
|
||||||
|
|
||||||
build with nightly features
|
build with nightly features
|
||||||
|
|
||||||
```sh
|
```bash
|
||||||
RUSTFLAGS="-C target-cpu=native" cargo +nightly build -p kubi -r --features nightly --
|
cargo +nightly build --bin kubi -r --features nightly
|
||||||
|
```
|
||||||
|
|
||||||
|
build for android
|
||||||
|
|
||||||
|
prerequisites: Android SDK, NDK, platform-tools, latest JDK
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo install cargo-apk
|
||||||
|
cargo target add aarch64-linux-android
|
||||||
|
cargo apk build -p kubi
|
||||||
|
cargo apk run -p kubi
|
||||||
```
|
```
|
||||||
|
|
||||||
<h2>mutiplayer</h2>
|
<h2>mutiplayer</h2>
|
||||||
|
|
Loading…
Reference in a new issue