Commit Graph

3339 Commits

Author SHA1 Message Date
Dustin Carlino
10ef4057a0 make buttons in sandbox dash look more like tabs 2020-02-05 13:01:35 -08:00
Dustin Carlino
2d73513b0c flexbox trick to make sure plot axes arent stretched out too much when embedded in larger panels 2020-02-05 12:44:05 -08:00
Dustin Carlino
0909344c15 minimap tuning: add vertical separator, make the dropdown appear by the
button
2020-02-05 12:15:37 -08:00
Dustin Carlino
682668d4f6 use named csv fields in psrc parser. group trips by person in popdat layer, discovering that almost no people have multiple trips... 2020-02-05 11:22:56 -08:00
Dustin Carlino
f4c6b4453a scrape info from PSRC to relate trips to people. not plumbed into
scenario layer yet.
2020-02-04 19:54:13 -08:00
Dustin Carlino
91234bf49a slow day. prototype a dot map from scenarios 2020-02-04 16:30:44 -08:00
Dustin Carlino
b0a56abb6e no more prompt in some of the popups, adjust the menu coloring, cancel
popups by clicking on the map
2020-02-04 13:41:09 -08:00
Dustin Carlino
7f82241ed9 put some popup menus beneath their buttons 2020-02-04 13:25:53 -08:00
Dustin Carlino
17ebb506b5 draw previous state underneath wizards, so everything doesnt vanish 2020-02-04 12:52:47 -08:00
Dustin Carlino
0890a37ee1 carve out a section for showing off curated proposals [rebuild] 2020-02-03 18:01:49 -08:00
Dustin Carlino
28d593797a overhaul fullscreen layouts: splash menu, about, challenge picker,
sandbox dashboards. I think I understand enough of the tricks now.
2020-02-03 16:13:40 -08:00
Dustin Carlino
92c2fca55e make the details button in signal challenge inactivate 2020-02-03 12:01:13 -08:00
Dustin Carlino
28dcf63c8e simplify challenge picking flow. stop listing previous proposals, for now. use the same tab style as sandbox dashboards 2020-02-03 11:53:54 -08:00
Dustin Carlino
59f2f03acb refactoring some UI-related colors 2020-02-03 11:14:17 -08:00
Dustin Carlino
8a2d73ae23 stick tutorial state in UI session data. now we can remember current and
latest stage, start dev mode in the right place, and start at any stage
via flag
2020-02-03 10:21:13 -08:00
Dustin Carlino
8d09c7f819 new release 2020-02-02 22:27:20 -08:00
Dustin Carlino
acef70add0 draw after update events [rebuild] 2020-02-02 22:16:02 -08:00
Dustin Carlino
17bb3548ff loading screen while clearing edits, and clear edits when leaving
tutorial
2020-02-02 17:46:52 -08:00
Dustin Carlino
116d0dfef0 revamp tutorial mode as a gameplay mode underneath sandbox. few small
bugs left after the transition. unlocks more fixes and improvements
2020-02-02 14:17:27 -08:00
Dustin Carlino
6f6dda72bd better turn group blocks that handle variable lane width and
non-contiguous turn lanes. also clarify part of tutorial for #42
2020-02-01 19:11:01 -08:00
Dustin Carlino
abba4be202 filter out overlays intelligently 2020-02-01 11:39:48 -08:00
Dustin Carlino
719e720bf7 more obvious way to leave edit mode [rebuild] 2020-01-31 15:34:55 -08:00
Dustin Carlino
2daf5c51ca fix bugs transitioning around edit mode 2020-01-31 15:30:46 -08:00
Dustin Carlino
adbbe669d7 working on the tutorial again 2020-01-31 15:16:26 -08:00
Dustin Carlino
8228f53d02 make it easier to debug objects by warping to them, draw turn cycler
arrows a little more successfully
2020-01-31 14:06:37 -08:00
Dustin Carlino
1d13ae39c3 explain a few more things in the tutorial, improve arrows a bit
[rebuild]
2020-01-31 12:18:44 -08:00
Dustin Carlino
79de16a840 get the sim crate to build to wasm. a small step towards #21 2020-01-30 17:28:52 -08:00
Dustin Carlino
800008dc03 making the histogram more clear about same trips 2020-01-30 15:33:27 -08:00
Dustin Carlino
da92518d62 align all overlay panels above the minimap 2020-01-30 14:38:26 -08:00
Dustin Carlino
e96fa0f96f fix bounds of tutorial levels, so max unzoom and minimap and such work.
always display minimap in sim modes.
2020-01-30 14:25:02 -08:00
Dustin Carlino
e87e77f06e hide other challenges outside of dev mode 2020-01-30 13:55:48 -08:00
Dustin Carlino
c62ca1a125 try again or back out of challenge after final score 2020-01-30 13:50:46 -08:00
Dustin Carlino
a0ec59b6c3 remove the modalmenu from traffic sig challenge. show target goal always. pop up score when all trips are done 2020-01-30 12:00:21 -08:00
Dustin Carlino
2cc536608a move trffic signal score into the top-center panel, put a button there to launch the full histogram 2020-01-30 11:28:39 -08:00
Dustin Carlino
cc489ae03f dismantle GameplayRunner indirection 2020-01-30 11:08:33 -08:00
Dustin Carlino
92c6b8e282 give ownership of the top-center panel to each gameplay state 2020-01-30 11:01:40 -08:00
Dustin Carlino
78344ee2a4 simplify traffic signal challenge's communication of main score. move
count/duration comparators to a more general place.
2020-01-30 10:49:20 -08:00
Dustin Carlino
d3fe865ad9 tuning signal editor 2020-01-29 16:22:49 -08:00
Dustin Carlino
cfbaf80fe3 autoscroll signal editor to show the current phase 2020-01-29 15:59:56 -08:00
Dustin Carlino
d54384742a tune minimap controls. also avoid the brief flash of a loading screen
when it's very fast [rebuild]
2020-01-29 13:35:36 -08:00
Dustin Carlino
c07d5b7c55 add a 4th speed option (uncapped) 2020-01-29 12:47:33 -08:00
Dustin Carlino
2750035172 tuning the speed panel, to fix #34 2020-01-29 12:26:09 -08:00
Dustin Carlino
43ea723111 tune lane editor style, and refactor some widget centering patterns
[rebuild]
2020-01-29 12:16:18 -08:00
Dustin Carlino
4ceae3de14 embed a version number in the title screen 2020-01-29 11:43:54 -08:00
Dustin Carlino
5914b39fc5 adjust bus stop and crosswalk icons after thinner sidewalks. deactivate
turn cycler when hovering on bus stops (and other objects)
2020-01-29 11:13:45 -08:00
Dustin Carlino
b2216bb482 not all lanes have to be the same width. make sidewalks a bit thinner. 2020-01-28 17:26:14 -08:00
Dustin Carlino
5048c69750 scrape named amenities from OSM, match to buildings 2020-01-28 15:57:45 -08:00
Dustin Carlino
8a966395af prevent a crash with spawning agents around intersections. tiny tutorial tweaks 2020-01-28 14:33:55 -08:00
Dustin Carlino
e733fe9d94 plumb real time passed through Update event, just base off of that 2020-01-28 09:39:44 -08:00
Dustin Carlino
8d3f58f214 whoa, time_limited_step always jumped too much 2020-01-28 09:07:09 -08:00