Speedy6451 / simplesailing

software rendered sailing simulator for the 2023 js13kgames challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Sailing Simulator

my entry to js13kgames 2023

Gameplay screenshot, a pixelated sailboat exits a well-protected bay

Brave the north wind and search for York, or simply explore.

Controls

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

Building from source

Native
cargo run -p client --release
Wasm (optimized for firefox)
Arch Linux
# pacman -S --needed wabt minify just binaryen rustup just
$ rustup toolchain add wasm32-unknown-unknown
$ just build

About

software rendered sailing simulator for the 2023 js13kgames challenge


Languages

Language:Rust 81.9%Language:JavaScript 9.5%Language:Just 6.7%Language:HTML 1.1%Language:CSS 0.8%