2019-04-10 22:48:46 +03:00
|
|
|
# A/B Street Instructions
|
|
|
|
|
2019-04-29 06:22:42 +03:00
|
|
|
General disclaimer: This is a very rough demo. The user interface is clunky, and
|
|
|
|
gameplay is not cohesively tied together yet. Please email
|
2019-12-15 22:46:01 +03:00
|
|
|
<dabreegster@gmail.com> or
|
|
|
|
[file a Github issue](https://github.com/dabreegster/abstreet/issues/) if you
|
|
|
|
hit problems.
|
2019-04-12 21:38:25 +03:00
|
|
|
|
2019-12-04 01:31:00 +03:00
|
|
|
## Installing the game
|
|
|
|
|
2019-12-15 22:46:01 +03:00
|
|
|
Grab a pre-built binary release -- updated every Sunday, announced at
|
|
|
|
[r/abstreet](http://old.reddit.com/r/abstreet):
|
2019-04-17 02:06:45 +03:00
|
|
|
|
2019-04-19 19:46:28 +03:00
|
|
|
- Windows:
|
2019-12-15 22:46:01 +03:00
|
|
|
https://github.com/dabreegster/abstreet/releases/download/v0.1.19/abstreet_windows_v0_1_19.zip
|
2019-11-11 06:08:35 +03:00
|
|
|
- Mac:
|
2019-12-15 22:46:01 +03:00
|
|
|
https://github.com/dabreegster/abstreet/releases/download/v0.1.19/abstreet_mac_v0_1_19.zip
|
2019-12-17 06:09:02 +03:00
|
|
|
- The minimap may be missing, depending on your monitor's DPI. If so, modify
|
|
|
|
the `play_abstreet.sh` script to pass `--hidpi_factor=2.0` and experiment
|
|
|
|
with different values. If you have to do this, please
|
|
|
|
[file an issue](https://github.com/dabreegster/abstreet/issues) and let me
|
|
|
|
know, so I can figure out why `glutin` misreports this.
|
2019-11-10 22:38:39 +03:00
|
|
|
- Linux:
|
2019-12-15 22:46:01 +03:00
|
|
|
https://github.com/dabreegster/abstreet/releases/download/v0.1.19/abstreet_linux_v0_1_19.zip
|
|
|
|
- The binary might not work on your flavor of Linux; let me know
|
|
|
|
[here](https://github.com/dabreegster/abstreet/issues/17) if so.
|
2019-04-18 00:49:51 +03:00
|
|
|
|
2019-11-10 22:38:39 +03:00
|
|
|
Unzip the folder, then run `play_abstreet.sh` or `play_abstreet.bat`. On
|
|
|
|
Windows, you'll probably get a warning about running software from an unknown
|
|
|
|
publisher.
|
2019-10-22 22:27:47 +03:00
|
|
|
|
2019-12-04 01:31:00 +03:00
|
|
|
Or you can [build from source](/docs/dev.md).
|
|
|
|
|
2019-11-10 22:38:39 +03:00
|
|
|
## Playing the game
|
2019-10-22 22:27:47 +03:00
|
|
|
|
|
|
|
General controls:
|
|
|
|
|
|
|
|
- Click and drag to move
|
|
|
|
- Scroll wheel or touchpad to zoom
|
|
|
|
- Menus should work as expected. Most actions have a keybinding.
|
2019-12-15 22:46:01 +03:00
|
|
|
- You can hover over an object and left-click to see more actions.
|
2019-10-22 22:27:47 +03:00
|
|
|
|
|
|
|
Things to try:
|
|
|
|
|
|
|
|
- In sandbox mode, hover over an intersection, right click, and spawn agents.
|
2019-11-06 05:33:06 +03:00
|
|
|
- To run a realistic, full day's worth of traffic, go to sandbox mode, then
|
|
|
|
"start a scenario" (hotkey **s**) and choose the "weekday_typical_traffic"
|
|
|
|
entry. Time (shown in the top-right corner) starts at midnight. Things tend to
|
2019-11-10 22:38:39 +03:00
|
|
|
get interesting around 6am -- use the speed controls in the top-left. Try
|
|
|
|
zooming in for details, and zooming out to see an overview.
|
2019-12-15 22:46:01 +03:00
|
|
|
- The full scenario should complete successfully on the small montlake map. On
|
|
|
|
other maps, it currently gridlocks or crashes. Most of these are known
|
|
|
|
issues.
|
|
|
|
- Go to edit mode (note this will reset the simulation). Use the buttons at the
|
|
|
|
top to pick a lane type, then hover over a lane and press **space** to change
|
|
|
|
it. Deselect the lane tool, then click an intersection to edit stop signs or
|
|
|
|
traffic signals.
|
|
|
|
- Go back to the main menu and pick a challenge. Eventually these will be very
|
|
|
|
self-guided, but there are various problems with all of them right now.
|
2019-10-22 22:27:47 +03:00
|
|
|
|
2019-04-10 22:48:46 +03:00
|
|
|
## Data source licensing
|
|
|
|
|
|
|
|
A/B Street binary releases contain pre-built maps that combine data from:
|
|
|
|
|
|
|
|
- OpenStreetMap (https://www.openstreetmap.org/copyright)
|
|
|
|
- King County metro
|
|
|
|
(https://www.kingcounty.gov/depts/transportation/metro/travel-options/bus/app-center/terms-of-use.aspx)
|
|
|
|
- City of Seattle GIS program
|
|
|
|
(https://www.opendatacommons.org/licenses/pddl/1.0/)
|
|
|
|
- https://github.com/seattleio/seattle-boundaries-data
|
|
|
|
(https://creativecommons.org/publicdomain/zero/1.0/)
|
2019-06-25 23:01:32 +03:00
|
|
|
- Puget Sound Regional Council
|
|
|
|
(https://www.psrc.org/activity-based-travel-model-soundcast)
|
2019-11-29 21:17:14 +03:00
|
|
|
|
|
|
|
Other binary data bundled in:
|
|
|
|
|
|
|
|
- DejaVuSans.ttf (https://dejavu-fonts.github.io/License.html)
|
|
|
|
- Roboto-Regular.ttf (https://fonts.google.com/specimen/Roboto, Apache license)
|