https://github.com/unrust/unrust
unrust - A pure rust based (webgl 2.0 / native) game engine
https://github.com/unrust/unrust
nphysics3d physics rust rust-lang stdweb wasm webassembly webgl
Last synced: 5 days ago
JSON representation
unrust - A pure rust based (webgl 2.0 / native) game engine
- Host: GitHub
- URL: https://github.com/unrust/unrust
- Owner: unrust
- License: apache-2.0
- Created: 2018-01-29T18:58:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-13T02:24:53.000Z (over 6 years ago)
- Last Synced: 2025-04-09T16:04:25.578Z (5 days ago)
- Topics: nphysics3d, physics, rust, rust-lang, stdweb, wasm, webassembly, webgl
- Language: Rust
- Homepage:
- Size: 147 MB
- Stars: 377
- Watchers: 11
- Forks: 23
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-rust-cn - Unrust
- awesome-rust - Unrust
- awesome-rust - Unrust
- awesome-rust-cn - Unrust - 一个纯粹的基于rust的(webgl 2.0 / native)游戏引擎。 (库 Libraries / 游戏开发 Game development)
- awesome-list - unrust - A pure rust based (webgl 2.0 / native) game engine | unrust | 346 | (Rust)
- awesome-rust-zh - Unrust - unrust - 基于纯螃蟹(webgl 2.0 /原生)游戏引擎 (库 / 游戏开发)
- awesome-rust - Unrust
README
# unrust
[](https://travis-ci.org/unrust/unrust)
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
* [Boxes](https://edwin0cheng.github.io/unrust/demo/boxes)
* [Sponza](https://edwin0cheng.github.io/unrust/demo/sponza)
* [Sound](https://edwin0cheng.github.io/unrust/demo/sound)
* [Post-Processing](https://edwin0cheng.github.io/unrust/demo/postprocessing)
* [MeshObj](https://edwin0cheng.github.io/unrust/demo/meshobj)
* [Basic](https://edwin0cheng.github.io/unrust/demo/basic)## Usage
You can reference [basic.rs](https://github.com/edwin0cheng/unrust/blob/master/examples/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
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)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.