Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 683 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 683 Bytes

Setup

Install rustup, then:

rustup update
rustup install nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup component add rustfmt-preview

cargo +nightly install wasm-bindgen-cli

yarn physics:build
cd tiled-utils && yarn && cd -

Tiled map editor is used to generate maps, so you might want to install it if you plan to change maps

Run server

cd server && yarn start

Run client

cd client && yarn start

Useful commands

yarn physics:watch # watch for rust sources to re-compile physics engine into WebAssembly
yarn maps:watch # watch for maps changes