这是indexloc提供的服务,不要输入任何密码
Skip to content

jesusmgg/train-ld58

Repository files navigation

Clean Line

2025-10-05_19-25

Game made for the Ludum Dare 58 Compo.

Build railroads, collect garbage, and take it to the recycling centers.

Fill all recycling centers to win.

  • Mouse controls to build.
  • Space to start/stop your train.
  • R to reset the current level.
  • H for in-game help.

Building

The game requires only the standard Rust toolchain with the wasm32-unknown-unknown target installed.

# Produces a debug build at `target/wasm32-unknown-unknown/debug`
cargo build

 # Produces a production build at `target/wasm32-unknown-unknown/release`
cargo build --release

Development server

Requires live-server.

chmod +x dev-server.sh
# Serve debug build
./dev-server.sh

# Serve release build
./dev-server.sh --release

This will start the development web server, watch for builds and reload the browser window if there is a new one.

About

Ludum Dare 58 game

Resources

License

Stars

Watchers

Forks

Packages

No packages published