wumo / nativium-game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nativium - Game

Nativium Game Screenshot



This is a sample about how to use Nativium architecture with custom install to build a game.


General

First of all you need to do the steps of the original Nativium project.

Visit:

https://github.com/nativium/nativium

Web Assembly Demo

Visit:

https://nativium.github.io/nativium-game/

Build for Linux

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

Build for macOS

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

Build for Windows

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.

Build for WASM

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

Build for iOS

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

Build for Android

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

About


Languages

Language:Java 74.6%Language:C++ 11.9%Language:Python 5.0%Language:Swift 2.8%Language:Makefile 1.5%Language:CMake 1.2%Language:Kotlin 1.0%Language:Objective-C++ 0.8%Language:Objective-C 0.5%Language:Ruby 0.4%Language:C 0.1%Language:TypeScript 0.1%