AlecGoncharow / zeus-rs

WIP city builder game with custom engine using wgpu-rs for rendering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zeus-rs

Continuous Integration

WIP city builder game with custom engine using wgpu-rs for rendering and async, multithreading, and networking using tokio

Building

Requirements (Mostly due to shaderc-rs):

Compilation Time Optimization Requirements:

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.

Linux x86_64:

  • Currently requires nightly toolchain.
  • clang

MacOS x86_64:

  • 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

Windows x86_64:

  • Currently requires nightly toolchain.
  • May not compile due to wgpu switch to wgpu-hal and this project's usage of push constants, unverified.

Running

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.

Game

cargo run --bin game-client --release

Server

cargo run --bin server --release

About

WIP city builder game with custom engine using wgpu-rs for rendering

License:Apache License 2.0


Languages

Language:Rust 96.0%Language:GLSL 4.0%