/unrust

unrust - A pure rust based (webgl 2.0 / native) game engine

Primary LanguageRustApache License 2.0Apache-2.0

unrust

Build Status

A pure rust based (webgl 2.0 / native) game engine

Current Version : 0.1.1

This project is under heavily development, all api are very unstable until version 0.2

Live Demo

Usage

You can reference basic.rs for now, more documetations will be coming soon.

Build

As web app (wasm32-unknown-unknown)

The target wasm32-unknown-unknown is currently only on the nightly builds as of nightly-2018-08-06.

cargo install cargo-web # installs web sub command
rustup override set nightly
rustup target install wasm32-unknown-unknown
cargo web start --example boxes --release

As desktop app (native-opengl)

rustup override set nightly
cargo run --example boxes --release

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.