updated README.md
This commit is contained in:
parent
8d5c58ea7a
commit
f1f58a0400
2 changed files with 23 additions and 5 deletions
23
README.md
23
README.md
|
@ -2,15 +2,32 @@
|
|||
|
||||
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
|
||||
|keyboard | controller | action
|
||||
|---|---|---
|
||||
|`A`|`D-Left`|rudder left
|
||||
|`D`|`D-Right`|rudder right
|
||||
||Left Stick X|rudder
|
||||
|`+`|`D-Up`|zoom in
|
||||
|`-`|`D-Down`|zoom out
|
||||
||Right Stick Y|zoom
|
||||
|`E`|`B`|raise sails
|
||||
|`Q`|`A`|lower sails
|
||||
||Left Stick Y + Left Bumper|control sails
|
||||
|arrow keys|Right Stick + Right Bumper|pan camera
|
||||
|`R`|`Y`|reset sailboat
|
||||
|`/`|`X`|reset camera
|
||||
|Esc||quit
|
||||
|
||||
Your sailboat travels fastest going perpendicular to the wind.
|
||||
|
||||
#### Installation
|
||||
|
||||
download the [latest release](https://github.com/Speedy6451/simplesailing/releases/latest)
|
||||
|
||||
#### Building from source
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use std::time::{Duration, SystemTime};
|
||||
|
||||
use std::time::SystemTime;
|
||||
use minifb::{Key, ScaleMode, Window, WindowOptions, Scale};
|
||||
extern crate pirates;
|
||||
use pirates::{WIDTH, HEIGHT};
|
||||
|
@ -133,6 +132,8 @@ fn main() {
|
|||
Key::Right => keyboard_input(39),
|
||||
Key::R => keyboard_input(82),
|
||||
Key::Slash => keyboard_input(191),
|
||||
Key::E => keyboard_input(69),
|
||||
Key::Q => keyboard_input(81),
|
||||
_ => (),
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue