Dustin Carlino
3ed6a8e6db
few small tweaks:
...
- adjust minimap agent size
- info panel is explicit about stop signs
- adjust unzoomed threshold
2020-02-20 13:19:50 -08:00
Dustin Carlino
2a747ef46b
tooltips for UI elements only. don't need the OSD fullscreen now.
2020-02-20 11:24:50 -08:00
Dustin Carlino
775a4d4035
fix crash before traffic signal preview, and weird finished trips pct
2020-02-19 14:15:22 -08:00
Dustin Carlino
e79790249e
separators in meters [rebuild]
2020-02-19 13:44:09 -08:00
Dustin Carlino
fe068da3f4
hide all of the phase editing behind a menu too [rebuild]
2020-02-19 13:08:53 -08:00
Dustin Carlino
841f13f13d
move some buttons behind more menus [rebuild]
2020-02-19 12:45:54 -08:00
Dustin Carlino
294ef481f3
signal editor style:
...
- smaller phase icons
- better currently selected phase drawing
2020-02-19 12:04:54 -08:00
Dustin Carlino
a65ea991e5
adjust tutorial wording
2020-02-19 09:40:26 -08:00
Dustin Carlino
848347a9b5
change up agent meters
2020-02-19 08:23:06 -08:00
Dustin Carlino
e713013cf9
improve lane editor. click to edit different lanes
2020-02-18 19:07:46 -08:00
Dustin Carlino
f28961e9c4
add padding to OSD
2020-02-18 17:43:00 -08:00
Dustin Carlino
a88a836752
adjust unzoomed colors
2020-02-18 17:33:41 -08:00
Dustin Carlino
b4017cc0e2
put action buttons higher up in info panels
2020-02-18 17:31:29 -08:00
Dustin Carlino
d112707261
more info about trips to/from bldgs and intersections [rebuild]
2020-02-18 15:15:31 -08:00
Dustin Carlino
f71c1d521e
add the trip data button. just removed the svg clip and it worked fine.
2020-02-18 12:19:34 -08:00
Dustin Carlino
f90ac143e0
put IDs back in info panels, in a less scary way. make histogram a bit
...
smaller, to stop covering new scorecard
2020-02-18 12:14:05 -08:00
Dustin Carlino
8434369d94
simplify representation of intersection edits, to allow proper undoing
2020-02-18 10:45:50 -08:00
Dustin Carlino
93c159b844
convert between stop signs and traffic signals. fixes #16
2020-02-18 09:54:14 -08:00
Dustin Carlino
0f0924ac56
restore an old debug tool to spot what agents are blocking an intersection. optional mode to avoid some gridlock... seemingly working for a few cases, but breaking other stuff, so disabled.
2020-02-18 08:40:05 -08:00
Dustin Carlino
254d07223e
option to invert scroll direction
2020-02-18 07:30:32 -08:00
Dustin Carlino
3555e58369
new map! tried to grab fresh OSM, but some of the old fixes broke it, so
...
will find a workaround tomorrow
2020-02-17 21:54:50 -08:00
Dustin Carlino
bd51208684
name intersections in info panels better, and avoid horizontal scrolling
...
in most?? cases
2020-02-17 17:07:25 -08:00
Dustin Carlino
46b91f0621
move map_path to be a function of GameplayMode, not Challenge. consolidate soem switch_map callers.
2020-02-17 16:43:36 -08:00
Dustin Carlino
47d367d82f
when you complete a challenge, offer to jump to the next step
2020-02-17 16:08:58 -08:00
Dustin Carlino
d56803a12a
include ongoing trips in measured trip times. adjust wording of
...
"finished trips" things.
2020-02-17 15:58:27 -08:00
Dustin Carlino
2316a725b1
show a score card in the tutorial too [rebuild]
2020-02-16 20:37:35 -08:00
Dustin Carlino
5c79efcc60
move traffic signal challenge score to agent meters. nix the confusing
...
details button for the moment.
2020-02-16 19:32:27 -08:00
Dustin Carlino
4a4917f2f0
plumb in pieces of SandboxMode into the gameplay. undo the event_with_speed hack.
2020-02-16 19:12:33 -08:00
Dustin Carlino
3e0246edec
find some way to prebake tutorial scenarios
2020-02-16 11:45:23 -08:00
Dustin Carlino
d292e29ad0
get the game crate running in wasm. bundle in lots of data files, fake out a few more IO things, glue timer println's to console log
2020-02-15 16:44:06 -08:00
Dustin Carlino
9a9619ec32
moving game assets to data/system, to more easily bundle in wasm
...
[rebuild]
2020-02-15 16:19:23 -08:00
Dustin Carlino
bdb0844512
make game crate compile under wasm
2020-02-14 16:15:44 -08:00
Dustin Carlino
b2c92ab8f9
upstreaming some changes for wasm here
...
- use instant crate
- bring in the wasm ezgui backend and necessary setup tweaks
- upgrade stdweb
but no map editor build magic yet
2020-02-14 14:28:25 -08:00
Dustin Carlino
d7d8b472e5
adjust escort mission
2020-02-13 14:30:14 -08:00
Dustin Carlino
152568476c
no more Text::prompt
2020-02-13 13:57:48 -08:00
Dustin Carlino
b2e21ea856
disable more controls early in tutorial. change tutorial goal text in a
...
few more cases.
2020-02-13 13:23:48 -08:00
Dustin Carlino
88a58fac8f
adjust tutorial instructions based on progress within a stage. had to
...
internally revamp tutorial state (again for the better!)
2020-02-12 17:08:57 -08:00
Dustin Carlino
1f0b225b6b
cleaning up trip_details
2020-02-12 16:17:41 -08:00
Dustin Carlino
691dcdfbbc
also revamp panels for other objects, except for the trip details part
2020-02-12 12:22:43 -08:00
Dustin Carlino
fc47d2b948
work on info panels a little more. lanes are looking pretty good now.
2020-02-12 11:16:05 -08:00
Dustin Carlino
8b50492d42
trying out a different look for info panel contents. mostly just lanes
...
right now
2020-02-11 17:04:25 -08:00
Dustin Carlino
ba83207477
mitigate accidental tutorial restarting
2020-02-11 16:32:53 -08:00
Dustin Carlino
b033c4f720
round of quick fixes to avoid crashes
2020-02-11 16:13:42 -08:00
Dustin Carlino
606325ac77
make the glow and glium backends toggleable at build-time
2020-02-10 20:23:12 -08:00
Dustin Carlino
66c983d119
refactor away DrawCtx, just pass UI
2020-02-10 13:28:03 -08:00
Dustin Carlino
f359995a27
adjust the indication of some selected objects
2020-02-10 13:16:39 -08:00
Dustin Carlino
6ff0c85a14
cutover to use winit's own event loop. thanks to goddessfreya for help
...
fixing the animation timing in
https://github.com/rust-windowing/winit/pull/1450#pullrequestreview-355698895
2020-02-10 10:01:49 -08:00
Dustin Carlino
604c87f2c7
new release. also sneak in tiny popup menu fix for the next round
2020-02-09 17:32:03 -08:00
Dustin Carlino
1cd7629dfa
dont reload prebaked data unnecessarily [rebuild]
2020-02-09 17:15:33 -08:00
Dustin Carlino
935e42aee6
upgrade glium and glutin
...
- reference events exported from glutin as winit events, which will ease a transition to wasm (where winit is used with glow, not glium)
- also winit stopped requiring a dance to convert logical to physical sizes, so stop tracking dpi!
2020-02-09 10:56:51 -08:00