Skip to content

Maksasj/berryville

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

And yet, yet again, berryville is a not a new javascript framework !

Links:

  1. Web version available at maksasj.github.io/berryville
  2. Game page on Itch.io maksasj.itch.io/berryville
  3. Source code avaiable at github.com/Maksasj/berryville

Cool looking widgets: license version rust_build web_build

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.

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). After installing wasm-bindgen, you can try to run

cargo build --release --target wasm32-unknown-unknown

this command will compile game into a wasm file. Then you can follow this guide link. 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