WIP city builder game with custom engine using wgpu-rs for rendering and async, multithreading, and networking using tokio
Requirements (Mostly due to shaderc-rs):
- cargo
- cmake
- git
- python3 (must be called python.exe on Windows)
- ninja (on Windows)
- Support for a graphics API supported by wgpu
By default this repo builds with some flags that speed up compilation times on the listed platforms considerably but are completely optional in terms of generating a functional binary.
You can modify .cargo/config.toml
to relax any of these requirements.
- Currently requires nightly toolchain.
- clang
- Currently requires nightly toolchain.
- You must manually install https://github.com/michaeleisel/zld. you can easily do this with the "brew" package manager:
brew install michaeleisel/zld/zld
- Currently requires nightly toolchain.
- May not compile due to
wgpu
switch towgpu-hal
and this project's usage of push constants, unverified.
This repo contains 2 binaries currently, game-client
and server
, this is likely to change. The game will work without the server for now,
the server only acts as a sort of entiity orchestrator at the moment.
cargo run --bin game-client --release
cargo run --bin server --release