https://github.com/maksasj/berryville
🚜 is a farming simulator game written in Rust using Bevy game engine.
https://github.com/maksasj/berryville
bevy bevy-engine game-development game-jam gmtk-jam rust
Last synced: 6 months ago
JSON representation
🚜 is a farming simulator game written in Rust using Bevy game engine.
- Host: GitHub
- URL: https://github.com/maksasj/berryville
- Owner: Maksasj
- License: mit
- Archived: true
- Created: 2023-07-07T17:30:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-10T14:50:52.000Z (over 2 years ago)
- Last Synced: 2025-03-13T20:29:49.496Z (8 months ago)
- Topics: bevy, bevy-engine, game-development, game-jam, gmtk-jam, rust
- Language: JavaScript
- Homepage: https://maksasj.github.io/berryville/
- Size: 21.2 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
**Berryville** - is a farming simulator game, but roles are reversed, now you are playing as a plant. Just spend your time growing, as just a simple plant 😘. Game written in Rust using Bevy game engine.
**Entry for [GMTK Game Jam 2023](https://itch.io/jam/gmtk-2023)**
> And yet, yet again, berryville is a not a new javascript framework !
### Links:
1. Web version available at [maksasj.github.io/berryville](https://maksasj.github.io/berryville/)
2. Game page on Itch.io [maksasj.itch.io/berryville](https://maksasj.itch.io/berryville)
3. Source code avaiable at [github.com/Maksasj/berryville](https://github.com/Maksasj/berryville)
Cool looking widgets:

## Building
### Requirements
Initially project have been build with these versions
1. cargo 1.70.0
2. rustc 1.70.0
3. wasm-bindgen 0.2.86 (required only for web build)
### Windows build
There is two main building options first one is building `exe` file, and second one is a `web` version.
As for `exe` version, you simply can do default or use preexisting `build.bat` and `make.bat` script.
```bash
cargo build --release
```
Cargo will automatically, download and build dependencies, such as bevy.
### Web build
As for the web version, you will need to have `wasm-bindgen` cli utility(see this guide [link](https://rustwasm.github.io/wasm-bindgen/reference/cli.html)). After installing `wasm-bindgen`, you can try to run
```bash
cargo build --release --target wasm32-unknown-unknown
```
this command will compile game into a wasm file. Then you can follow this guide [link](https://bevy-cheatbook.github.io/platforms/wasm.html). For development simplicity there is also `web-build` script, that compiles game into a wasm file, and runs `wasm-bindgen` automatically.
## License
Berryville is free, open source game. All code in this repository is licensed under
- MIT License ([LICENSE.md](https://github.com/Maksasj/berryville/blob/master/LICENSE.md) or https://opensource.org/license/mit/)