Dustin Carlino
d0995f5b77
New release, with 15-minute Santa!
2020-12-21 08:03:06 -08:00
Dustin Carlino
b2dcf93b68
Fix links, add trailer [rebuild] [release]
2020-12-20 15:02:12 -08:00
Dustin Carlino
afb04b0c7e
Improve the pages for the two 15 min projects...
2020-12-20 14:00:19 -08:00
Dustin Carlino
c1de1678b7
Record the path a player takes, and display that afterward
2020-12-20 12:58:11 -08:00
Dustin Carlino
ab19696e01
Require flipping a flag in the JSON before allowing level modding. Otherwise, it'll be impossible to push out updates to the web version for anybody who's already got the local storage written.
2020-12-20 11:27:30 -08:00
Dustin Carlino
be589f7ef4
Switch A/B Street over to the new web loader with a progress bar. Initializing the .wasm may take a little longer, but it's not noticeable, and the progress bar for the large upfront download is really helpful. #377
2020-12-20 11:07:03 -08:00
Dustin Carlino
20ff5150c2
Also count intersections adjacent to bike/bus lanes as boost-worthy, so
...
it's not choppy as players boost down a long bike corridor
2020-12-19 19:58:36 -08:00
Dustin Carlino
677cf4f209
Merge the center panels into the ones on the right, which is especially helpful on high DPI screens.
2020-12-19 19:56:25 -08:00
Dustin Carlino
d434e75cfb
Filip caught a major bug -- deliveries were still different when low on energy, whoops!
2020-12-19 19:40:30 -08:00
Dustin Carlino
3009756497
Stop procrastinating on tuning...
2020-12-19 18:05:46 -08:00
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