Skip to content

Troels51/hex_map_bevy

Repository files navigation

Hex map in Bevy

CI

This is a small 3D application with a hex map. Hex art by Andreas Barbesgaard

WebPage

Instructions:

  • Press X to auto generate a new map
  • PageUp & PageDown to Zoom
  • WASD to move the camera

Preview

How to run

  1. Install Rust (https://www.rust-lang.org/tools/install)
  2. Run the application
    • Start the native app: cargo run
    • Start the web build: cargo run --target wasm32-unknown-unknown
      • requires [wasm-server-runner]: cargo install wasm-server-runner
      • requires wasm32-unknown-unknown target: rustup target add wasm32-unknown-unknown
      • this will serve your app on a free port