abstreet/docs/INSTRUCTIONS.md
Dustin Carlino 923adbf8b5 new release
2019-08-26 17:59:10 -07:00

2.5 KiB

A/B Street Instructions

General disclaimer: This is a very rough demo. The user interface is clunky, and gameplay is not cohesively tied together yet. Please email dabreegster@gmail.com or file a Github issue if you hit problems.

Installing the game

The easiest method is to use pre-built binaries. Check https://github.com/dabreegster/abstreet/releases for the latest version, though I'll try to keep these links up-to-date:

Compiling from source

To build, you need a Linux-like environment with bash, wget, unzip, etc. You also osmosis for the import script. At runtime if you want to use the screen-capture plugin, you need scrot.

  1. Install Rust, at least 1.31. https://www.rust-lang.org/tools/install

  2. Download the repository: git clone https://github.com/dabreegster/abstreet.git

  3. Download all input data and build maps. Compilation times will be very slow at first. cd abstreet; ./import.sh && ./precompute.sh --release

If you build from source, you won't have the convenient launcher scripts referenced below. Instead:

cd editor
cargo run --release

Running the game

Start the game by running play_abstreet.sh or play_abstreet.bat. On Windows, you'll probably get a warning about running software from an unknown publisher.

General controls:

  • Click and drag to move
  • Scroll wheel or touchpad to zoom
  • Follow on-screen controls otherwise. You can also try hovering over an object and right-clicking to see more actions. (These controls will show up more clearly soon.)

Data source licensing

A/B Street binary releases contain pre-built maps that combine data from: