This is a sample about how to use Nativium architecture with custom install to build a game.
First of all you need to do the steps of the original Nativium project.
Visit:
https://github.com/nativium/nativium
Visit:
https://nativium.github.io/nativium-game/
Execute the following commands to build for Linux:
git clone https://github.com/nativium/nativium.git nativium
cd nativium
python nativium.py custom install --path=../custom
python nativium.py target linux setup
python nativium.py target linux build
python nativium.py target linux run
Execute the following commands to build for macOS:
git clone https://github.com/nativium/nativium.git nativium
cd nativium
python nativium.py custom install --path=../custom
python nativium.py target macos setup
python nativium.py target macos build
python nativium.py target macos run
Execute the following commands to build for Windows:
git clone https://github.com/nativium/nativium.git nativium
cd nativium
python nativium.py custom install --path=../custom
python nativium.py target windows setup
python nativium.py target windows build
python nativium.py target windows run
Obs: On Windows the terminal needs to be opened as administrator
, otherwise the symlinks
will not be created.
Execute the following commands to build for Web Assembly (WASM):
git clone https://github.com/nativium/nativium.git nativium
cd nativium
python nativium.py custom install --path=../custom
python nativium.py target wasm setup
python nativium.py target wasm build
python nativium.py target wasm serve
Execute the following commands to build for iOS:
git clone https://github.com/nativium/nativium.git nativium
cd nativium
python nativium.py custom install --path=../custom
python nativium.py target ios setup
python nativium.py target ios build
python nativium.py target ios package --no-framework
python nativium.py target ios dist generate
python nativium.py app ios-pods
Open the project for Xcode:
open apps/ios/runner/Runner.xcworkspace
Execute the following commands to build for Android:
git clone https://github.com/nativium/nativium.git nativium
cd nativium
python nativium.py custom install --path=../custom
python nativium.py target android setup
python nativium.py target android build
python nativium.py target android package
python nativium.py target android dist generate
Open the project for Android Studio:
apps/android/runner