From 45850e9a189980b9635b7c184983bd69bd011875 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Fri, 6 Mar 2020 19:21:43 +0100 Subject: [PATCH] Begin mobile steps --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0799b904..770e04a1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ armorpaint *Note 1: This repository is aimed at developers and may not be stable. Distributed binaries are currently [paid](https://armorpaint.org/download) to help with the project funding. All of the development is happening here in order to make it accessible to everyone. Thank you for support!* -*Note 2: If you are compiling git version of ArmorPaint, then you need to have a compiler ([Visual Studio](https://visualstudio.microsoft.com/downloads/) - Windows, [clang](https://clang.llvm.org/get_started.html) + [deps](https://github.com/Kode/Kha/wiki/Linux) - Linux, [Xcode](https://developer.apple.com/xcode/resources/) - macOS), [nodejs](https://nodejs.org/en/download/) and [git](https://git-scm.com/downloads) installed. Learn more about [Kha](https://github.com/Kode/Kha/wiki), [Kinc](https://github.com/Kode/Kinc/wiki) and [Krom](https://github.com/Kode/Krom/blob/master/readme.md).* +*Note 2: If you are compiling git version of ArmorPaint, then you need to have a compiler ([Visual Studio](https://visualstudio.microsoft.com/downloads/) - Windows, [clang](https://clang.llvm.org/get_started.html) + [deps](https://github.com/Kode/Kha/wiki/Linux) - Linux, [Xcode](https://developer.apple.com/xcode/resources/) - macOS / iOS, [Android Studio](https://developer.android.com/studio) - Android), [nodejs](https://nodejs.org/en/download/) and [git](https://git-scm.com/downloads) installed. Learn more about [Kha](https://github.com/Kode/Kha/wiki), [Kinc](https://github.com/Kode/Kinc/wiki) and [Krom](https://github.com/Kode/Krom/blob/master/readme.md).* ```bash git clone --recursive https://github.com/armory3d/armorpaint cd armorpaint @@ -42,6 +42,27 @@ node Kinc/make -g opengl # Build ``` ```bash +# Android - wip +node Kromx/make android -g opengl --shaderversion 300 +cd Kromx +node Kinc/make android -g opengl --noshaders +# Manual tweaking is required for now: +# https://github.com/armory3d/Kromx/blob/master/kincfile.js#L68 +# Open generated Android Studio project +# Build for device +``` +```bash +# iOS - wip +node Kromx/make ios -g opengl --shaderversion 300 +cd Kromx +node Kinc/make ios -g opengl --noshaders +# Manual tweaking is required for now: +# https://github.com/armory3d/Kromx/blob/master/kincfile.js#L84 +# Open generated Xcode project +# Add `path/to/Kromx/v8/libraries/ios/release` into `Project - Krom - Build Settings - Search Paths - Library Search Paths` +# Build for device +``` +```bash # Updating cloned repository git pull origin master git submodule update --init --recursive