Skip to content

IcanDivideBy0/bombersplash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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