/WolfEngine

Wolf is a set of modules for realtime rendering, realtime streaming and game developing

Primary LanguageRustApache License 2.0Apache-2.0

Wolf Engine LGPL v3 licensed wakatime

WolfEngine

Wolf Engine is the next generation of Persian Game Engine which is a cross-platform open source game engine created by Pooya Eimandar This Wolf is a comprehensive set of Rust/C libraries for realtime rendering, realtime streaming and game developing, which is support Lua & Python as an embedded script and binding language.

Branches

  • main, Wolf3, is the latest version of Wolf which is written in Rust and contains some unsafe codes and is not ready for production
  • Wolf2 is written in C/C++ and is in maintenance mode
  • releases contains old releases and source codes

Linter tools

Build

  • Wolf 2/1 via CMake

  • Wolf 3

    • Install CMake

    • Install Ninja & Meson (0.47 or higher), Alternatively, use "pip3 install meson" and "pip3 install ninja"

    • Install clang for bindgen

    • For Webassembly :
      From WolfEngine folder

    rustup default nightly
    rustup target add wasm32-unknown-unknown
    cd wolf-demo
    ./build-wasm.sh
    ./run-wasm.sh

    Finally the demo will be served at http://localhost:8000

    • For Windows, MacOS, Linux :
    rustup default stable
    cd wolf-demo
    cargo run
    • For Android :
    rustup default nightly
    rustup target add \
      aarch64-linux-android \
      armv7-linux-androideabi \
      x86_64-linux-android \
      i686-linux-android
    cargo install cargo-ndk
    export ANDROID_NDK_HOME = /path/to/the/root/of/NDK/Folder
    cargo ndk -t armeabi-v7a build
    cargo ndk -t armeabi-v7a -o ./jniLibs build --release 
    • For iOS :
    rustup default stable
    rustup target add \
      aarch64-apple-ios \
      x86_64-apple-ios
    cargo install cargo-lipo
    cd wolf
    cargo lipo --release

Copyright & License

Wolf Engine © 2014-2022 Pooya Eimandar