From d9d5eecd8914cefcacf724d97538321f2fb4ed18 Mon Sep 17 00:00:00 2001 From: Andy Killorin <37423245+Speedy6451@users.noreply.github.com> Date: Wed, 13 Sep 2023 16:41:18 -0500 Subject: [PATCH] updated README.md --- README.md | 26 +++++++++++++++++++++++--- client/Cargo.toml | 2 +- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5a6190f..192b9e6 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,30 @@ +## Simple Sailing Simulator + +my [entry](https://js13kgames.com/entries/simple-sailing-simulator) to js13kgames 2023 + +> Brave the north wind and search for York, or simply explore. + +### Controls + +/-: zoom + A: rudder left + D: rudder right + +Your sailboat travels fastest going perpendicular to the wind. + + #### Building from source -##### Arch Linux +##### Native + +``` +cargo run -p client --release +``` + +##### Wasm (optimized for firefox) + +###### Arch Linux ``` -$ git clone https://github.com/Speedy6451/simplesailing.git -$ cd simplesailing # pacman -S --needed wabt minify just binaryen rustup just $ rustup toolchain add wasm32-unknown-unknown $ just build diff --git a/client/Cargo.toml b/client/Cargo.toml index 6428440..5ac22c5 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -19,7 +19,7 @@ Simple Sailing Simulator: Brave the north wind and search for York, or simply ex Controls: +/-: zoom Arrow Keys: Pan Camera -W: rudder left +A: rudder left D: rudder right Your sailboat travels fastest going perpendicular to the wind.