Bevy-is-you
所属分类:游戏引擎
开发工具:Rust
文件大小:137KB
下载次数:0
上传日期:2022-07-07 18:34:48
上 传 者:
sh-1993
说明: 在Bevy游戏引擎中为Rust编程语言制作的益智游戏“Baba is you”的克隆
(A clone of the puzzle game "Baba is you" made in the Bevy game engine for the Rust programming language)
文件列表:
.cargo (0, 2022-07-08)
.cargo\config.toml (155, 2022-07-08)
Cargo.lock (78881, 2022-07-08)
Cargo.toml (419, 2022-07-08)
assets (0, 2022-07-08)
assets\fonts (0, 2022-07-08)
assets\fonts\FiraMono-Medium.ttf (173516, 2022-07-08)
assets\maps (0, 2022-07-08)
assets\maps\Bevy is you blocks.png (1611, 2022-07-08)
assets\maps\bevy is you text.png (697, 2022-07-08)
assets\maps\level1.json (1285, 2022-07-08)
assets\maps\level2.json (2203, 2022-07-08)
assets\maps\level3.json (2218, 2022-07-08)
assets\maps\level4.json (2223, 2022-07-08)
assets\maps\level5.json (2910, 2022-07-08)
assets\maps\main map.json (5630, 2022-07-08)
assets\maps\map_editor.ogmo (4019, 2022-07-08)
assets\textures (0, 2022-07-08)
assets\textures\Bevy.png (161, 2022-07-08)
assets\textures\Flag.png (151, 2022-07-08)
assets\textures\Rock.png (210, 2022-07-08)
assets\textures\Wall.png (158, 2022-07-08)
assets\textures\air.png (88, 2022-07-08)
assets\textures\level 01.png (373, 2022-07-08)
assets\textures\level 02.png (357, 2022-07-08)
assets\textures\level 03.png (357, 2022-07-08)
assets\textures\level 04.png (340, 2022-07-08)
assets\textures\level 05.png (335, 2022-07-08)
assets\textures\level 06.png (347, 2022-07-08)
assets\textures\level 07.png (346, 2022-07-08)
assets\textures\level 08.png (340, 2022-07-08)
assets\textures\level 09.png (334, 2022-07-08)
assets\textures\path.png (226, 2022-07-08)
assets\textures\text bevy.png (174, 2022-07-08)
assets\textures\text flag.png (161, 2022-07-08)
assets\textures\text is.png (134, 2022-07-08)
assets\textures\text push.png (167, 2022-07-08)
... ...
# Bevy is you
A clone of the puzzle game "Baba is you" made in the Bevy game engine for the Rust programming language :)
# Installation
## If you have cargo installed:
clone the repo with
```
git clone git@github.com:mp768/Bevy-is-you.git
```
and just run
```
cargo run
```
## If you do not have cargo installed:
install cargo using the instructions [here](https://www.rust-lang.org/tools/install)
I'd also recommend reading the [rust book](https://doc.rust-lang.org/book/) if you're unfamiliar with rust :)
## How to build for web
install the wasm32 target and wasm-bindgen
```
rustup target add wasm32-unknown-unknown
cargo install -f wasm-bindgen-cli
```
build the project for wasm32
```
cargo build -r --target wasm32-unknown-unknown
```
Create an `out` directory to place the assets, and generated js and ts files.
Then use `wasm-bindgen` to translate the `.wasm` file to js.
```
wasm-bindgen --out-dir ./out --target web ./target/wasm32-unknown-unknown/release/bevy_is_you.wasm
```
Then create a `.html` with this content inside
```HTML
bevy_is_you
```
# Contributors
Special thanks to all these epic folk for helping me out with this project :D
- [derpyzza](https://linktr.ee/derpyzza) ( Moral support )
近期下载者:
相关文件:
收藏者: