Dustin Carlino
34c45e562b
Use the table widget to improve 15 min amenity details. #393
2020-12-19 16:43:55 -08:00
Dustin Carlino
0bcf130b80
Lift the generic table to widgetry
2020-12-19 16:06:30 -08:00
Dustin Carlino
fdc1d4b8f9
Add a legend to the 15 min tool. #393
2020-12-19 15:39:35 -08:00
Dustin Carlino
df5b8c07eb
Estimate street parking in the 15 min walkshed tool. #393
2020-12-19 15:27:13 -08:00
Dustin Carlino
ab92a387f2
Allow modding the experiment, and fix the --dev unlock_all functionality
2020-12-19 15:12:36 -08:00
Dustin Carlino
6642c6e1a9
Rename the experiment crate in preparation for a Monday release
2020-12-19 10:01:28 -08:00
Dustin Carlino
799adbbdd4
Fix map loader on web. Remote paths wound up with an extra /, breaking
...
the deduping between remote and statically bundled files, which broke
one of the map loader panels with duplicate buttons.
2020-12-19 09:51:52 -08:00
Dustin Carlino
3966f10f17
Hunt for more music
2020-12-18 17:19:05 -08:00
Dustin Carlino
77fcd04402
Different music per level
2020-12-18 16:26:39 -08:00
Dustin Carlino
31426db26a
Label stores
2020-12-18 15:53:08 -08:00
Dustin Carlino
05f4eca10f
Doc tweaks
2020-12-18 15:10:05 -08:00
Dustin Carlino
2823c04338
Finalization flurry...
...
- Tune colors in the experiment
- Regenerate maps again -- I forgot that the parcel data gets joined in
a later importer step.
- Add some of the new maps as levels
2020-12-18 14:24:45 -08:00
Dustin Carlino
2baa0fa094
Update links to all the deployed web stuff
2020-12-18 13:02:36 -08:00
Dustin Carlino
23dea95da3
Also deploy the OSM viewer and 15 min tool to the web
2020-12-18 12:36:19 -08:00
Dustin Carlino
9da8fa8e98
Add a section to the book to give details on all of the side projects spun out of A/B Street proper.
2020-12-18 12:16:13 -08:00
Dustin Carlino
0b8c86e2c8
Adjust the threshold for what counts as a straight vs right turn from 10
...
degrees to 30 degrees. It works around the issue in #428 , but it doesn't
solve the root cause there, so the unit test is also adjusted to provide
a way to solve the harder problem.
Regenerated all maps accordingly. Many traffic signals tended to
improve, with a straight turn marked protected, instead of permitted as
a "right turn."
2020-12-18 12:06:16 -08:00
Dustin Carlino
ee0d73847e
Add more small Seattle maps for the experiment -- and who knows, maybe also useful for traffic sim
...
And unbreak the importer, cargo check doesn't build with features! Argh.
2020-12-18 11:00:15 -08:00
Dustin Carlino
631b164cf8
Add a warning when low on time or blood sugar
2020-12-17 15:50:29 -08:00
Dustin Carlino
57ea1b898d
Work on Filip's feedback from playtesting:
...
- larger / more obvious timer
- make it more clear you have to upzone before starting a level
- hide the upzone panel entirely at first
- swap vehicle/upzone panel, so the meters don't suddenly jump position
when starting the game
- explain upzoning better
2020-12-17 15:09:09 -08:00
Dustin Carlino
d917008f2e
Lift SimpleState to widgetry, since it doesn't depend on any details of
...
the App at all. Use it in the experiment a bit.
2020-12-17 12:23:57 -08:00
Dustin Carlino
c256c5ebee
Get a small unit testable repro of #428
2020-12-17 11:11:17 -08:00
Dustin Carlino
42d833ec3f
Return an error when a GET param in an API call is missing, instead of crashing
2020-12-17 10:33:49 -08:00
Dustin Carlino
477b14e17d
Tune vehicles, levels a little.
2020-12-17 10:26:21 -08:00
Dustin Carlino
e13dd74ab4
Only consider it a store if it sells something edible or quaffable...
...
and reduce some of the vehicle parameters to make it easier to tune.
2020-12-16 17:57:27 -08:00
Dustin Carlino
3ef1e03279
Quieter music unless actively playing
2020-12-16 17:22:34 -08:00
Dustin Carlino
57aad79596
Back to the experiment: don't run out of energy quickly on larger buildings. Rephrase as cookies and blood sugar...
2020-12-16 16:54:54 -08:00
Dustin Carlino
0831d112ed
Simplify the trace API even more -- everyone but the simulation deals with unmodified paths and wants the original start
2020-12-16 16:14:33 -08:00
Dustin Carlino
d00e7f7bca
Simplify path trace API -- nobody needs dist_ahead. I think that was originally meant to be a performance trick to only draw the next little bit of a route
2020-12-16 16:09:11 -08:00
Dustin Carlino
d4fa67ac87
Make the one-mode path guesses more precise in their start/end locations. Noticeable effect is in the freeform agent spawner, the paths actually go between buildings now, instead of lane starts.
2020-12-16 15:49:03 -08:00
Dustin Carlino
7c973ecacf
Expose continuous distance crossed for vehicles. #392
2020-12-16 15:29:55 -08:00
Dustin Carlino
b39aa2a45f
Expose continuous distance crossed for pedestrians. #392
2020-12-16 15:09:06 -08:00
Dustin Carlino
6e275a0a60
Track Path's total_length and crossed_so_far a bit more precisely at the beginning/end of the path, towards #392
2020-12-16 14:45:20 -08:00
Dustin Carlino
a5b62cd454
Simplify CreateCar, using the PathRequest embedded in the router's Path
2020-12-16 13:23:33 -08:00
Dustin Carlino
f36854cc5b
Simplify TripPhase now that PathRequest is embedded in the Path
2020-12-16 13:02:59 -08:00
Dustin Carlino
7efd2de939
Remove unused census generation UI from hackathon. We'll recreate this later, onc it's more clear what params there are to tune, and where the params will live. #424
2020-12-16 12:57:19 -08:00
Dustin Carlino
fccc98205c
Refactor: Store the input PathRequest inside the resulting Path. This
...
saves lots of callers from cloning the request and separately plumbing
around the requested start/end distance. Also a step towards exposing
more granular distance crossed in a path for #392 .
Still a few more places to simplify, but will do in a separate, smaller
change.
2020-12-16 12:55:57 -08:00
Dustin Carlino
e8f7e7444c
Treat vehicles waiting to spawn as active. #392
2020-12-16 12:05:15 -08:00
Dustin Carlino
2b4b92664e
Much needed refactor: map.pathfind() returns a Result, stating the failed request. Many call sites were cloning the request and doing this anyway.
2020-12-16 10:06:12 -08:00
Dustin Carlino
a0555d1df5
Add an API call to estimate the best-case duration of a trip. #392
2020-12-16 09:42:50 -08:00
Dustin Carlino
524f42ab61
Make the title screen more legible, add full credits. [rebuild]
2020-12-15 13:43:33 -08:00
Dustin Carlino
54eee6d3e4
Clarify instructions on the level prep screen and mark the start.
2020-12-15 12:45:08 -08:00
Tobias
551d28b3df
Update new_city.md ( #427 )
...
"will will" => "will"
2020-12-15 12:38:26 -08:00
Dustin Carlino
16392a461f
Refactor: GeomBatch::load_svg directly takes EventCtx or GfxCtx. The prerender struct should ultimately not be exposed outside of widgetry.
2020-12-15 11:44:58 -08:00
Dustin Carlino
02dd3613cd
Refactor: Rename txt.render_to_batch to txt.render_autocropped, and make
...
it take EventCtx or GfxCtx
2020-12-15 11:35:40 -08:00
Dustin Carlino
524ea30faa
Fix inactive button style, by applying layouting hints in isolation and
...
then drawing the resulting batch. Before, the layouting hints caused the
inactive "buttons" to stretch out horizontally.
2020-12-15 11:08:00 -08:00
Dustin Carlino
271c1f5a4e
More clear upzoning UI
2020-12-15 10:49:36 -08:00
Dustin Carlino
5aecff3b9e
Regularly import Salzburg. #366
2020-12-15 06:02:06 -08:00
Michael Kirk
375e0caeb8
integrate census scenario ( #426 )
...
#424
2020-12-14 20:27:57 -08:00
Michael Kirk
8b9b3ce2b1
census areas import ( #425 )
...
#424
2020-12-14 17:48:47 -08:00
Dustin Carlino
3c2c3cda5a
Output lane width as feet in the Streetmix export, not meters.
...
Also few unrelated tiny wording changes in the experiment
2020-12-14 16:13:32 -08:00