Skip to content

gridbugs/boat-journey

Repository files navigation

Boat Journey

dependency status test status

HIDPI

HIDPI scaling can make the game run larger than the screen size on some monitors. The WINIT_X11_SCALE_FACTOR environment variable overrides the HIDPI scaling factor.

For example:

WINIT_X11_SCALE_FACTOR=3 cargo run --manifest-path wgpu/Cargo.toml

Nix

To set up a shell with an installation of rust and external dependencies:

nix-shell

...or for nix flakes users:

nix develop