Michael Kirk
2b8511251a
fix scaling: replace remaining buttons with baked-in-text
2021-01-21 15:25:46 -08:00
Michael Kirk
90b6da7265
apply new delete icon, fix button spacing in signal editor
2021-01-21 15:25:46 -08:00
Michael Kirk
600d91896e
remove redundant edit.svg, use pencil.svg
2021-01-21 15:25:46 -08:00
Michael Kirk
12b220d606
replace proper "edit" (pencil) icon
2021-01-21 15:25:46 -08:00
Michael Kirk
7270ff31af
use icon button for "jump to time"
2021-01-21 15:25:46 -08:00
Michael Kirk
f382c08d55
replace text arrows with svg arrows for traffic signal editor
2021-01-21 15:25:46 -08:00
Michael Kirk
0f476b6a36
pagination uses icon button
2021-01-21 15:25:46 -08:00
Michael Kirk
d7445d889e
button revamp groundwork ( #459 )
2021-01-19 10:10:18 -08:00
Dustin Carlino
26f3726abd
gzip two large SVG character files to trims down wasm size more for #377 . game from 31MB to 24MB!
...
I didn't have to do anything to gunzip, because usvg is such a magical
crate that it already has flate2 support baked in.
2021-01-09 09:26:41 -08:00
Dustin Carlino
2972fef609
Trim wasm size for #377
...
- Remove one of Holly's characters, since it's still unused
- Exclude assets/music
game from 54MB down to 31MB
2021-01-08 17:41:53 -08:00
Dustin Carlino
001aa836d2
Organize assets that're baked into widgetry. They don't belong in the
...
data/ directory, because they're statically bundled; they're not
actually read from the filesystem. #253
Two SVGs get duplicated between widgetry and abst assets -- dont_walk
and arrow_drop_down.
2020-12-28 10:40:55 -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
54eee6d3e4
Clarify instructions on the level prep screen and mark the start.
2020-12-15 12:45:08 -08:00
Dustin Carlino
7ffa7f73f8
- Tune sprite size
...
- Fix duplicate unlocked vehicles
- Tune the zoom in-game
- Distinguish goal for each level, vs max possible score
- New time left panel
2020-12-13 12:44:43 -08:00
Dustin Carlino
6c3bd13874
Get that title screen closer to Figma.
2020-12-11 14:15:28 -08:00
Dustin Carlino
607a8757dd
Use widgetry to handle quitting things, so we don't just blow up on the
...
web.
2020-12-11 13:18:20 -08:00
Dustin Carlino
6e6e975923
There's no way it's this easy to add music... ( #417 )
2020-12-09 13:46:27 -08:00
Dustin Carlino
a88fef0874
Update minimap style and other bits from Figma, better snowflakes
2020-12-07 16:42:41 -08:00
Dustin Carlino
139f442ba7
Flatten transforms in the Santa SVGs from Illustrator. The pitiful SVG
...
processing code in widgetry doesn't handle paths nested under groups
with transforms. To workaround, preprocess the SVGs:
1) Open in Inkscape
2) Click the problematic group
3) Menu "Path > Object to path"
4) Menu "Extensions > Modify path > Apply transform"
And scale down the two bike sprites
2020-12-05 17:57:46 -08:00
Dustin Carlino
8531c8c773
Pick different vehicles, animate the player a bit
2020-12-03 14:23:30 -08:00
Dustin Carlino
2aaa7e4dee
Split into multiple panels, add a pause screen, fix switching maps
2020-12-03 12:38:28 -08:00
Dustin Carlino
675427f940
Track the direction the player is facing when moving around. And...
...
hello, Santa.
2020-12-01 13:06:27 -08:00
Dustin Carlino
8101c2a820
Add a favicon to the web deployment, mostly to stop an error in the devconsole
2020-11-14 10:51:33 -08:00
Dustin Carlino
8b0d6c6e92
Fix thought bubble svg; for some reason, it had cyan in one of the bubbles instead of white
2020-10-22 21:06:55 -07:00
Dustin Carlino
ad41303e5c
After making live map edits, indicate that results aren't finalized. #312
2020-10-22 11:05:07 -07:00
Michael Kirk
2ed916e89f
show parking intent ( #362 )
2020-10-07 14:16:58 -07:00
Michael Kirk
00fb0ef8cd
Cleanup dropdown - stop using unicode "down arrow"
...
We were drawing "pop-up" style buttons in several places, using
copy/pasted logic - which was simple enough when using a unicode glyph.
But we want to use a different glyph which isn't in our font. Further,
using an svg like this gives us finer grained control around the layout
around the button "handle" than we could get with just space characters.
2020-09-24 19:12:39 -07:00
Michael Kirk
8ad32c5cee
separate widgetry assets
...
might be helpful for packing separate widgetry crate
2020-09-24 19:12:39 -07:00
Michael Kirk
c0e2a611a0
introduce textures to rendering pipeline ( #333 )
2020-09-17 18:38:55 -07:00
Dustin Carlino
6e10f40801
Overhaul lane editor UI. #331
2020-09-16 12:32:11 -07:00
Dustin Carlino
da287ae68f
Discard changes from traffic signal editor. #331
2020-09-16 11:50:57 -07:00
Dustin Carlino
7bd1d937f9
Some of Yuwen's cosmetic traffic signal editor changes
2020-09-15 09:32:46 -07:00
Dustin Carlino
2895d50a1e
Add tooltips to the agent meters, and stop showing both buses and passengers. Fixes #239 ( #323 )
2020-09-11 11:08:26 -07:00
Dustin Carlino
59b14426bb
Improve shared left turn lane markings and reorg some docs
2020-08-26 12:35:29 -07:00
Dustin Carlino
8f6a6d40e6
change the few places that copied an OSM ID to the clipboard to instead
...
open the browser. this is more useful, and it also lets us get rid of a
dependency on clipboard stuff, fixing #264
2020-08-05 11:24:51 -07:00
Dustin Carlino
b57f5081cf
bit more, with pad. these hacks were put in before i understood you had
...
to wrap a widget in a container to make things like padding() work.
2020-07-29 18:51:28 -07:00
Dustin Carlino
de45fb5c07
better Checkbox::colored
2020-07-29 15:11:10 -07:00
Dustin Carlino
90bb4ac020
change text checkboxes to instead use toggles
2020-07-26 12:06:43 -07:00
Dustin Carlino
db0b851659
use toggles instead of checkboxes in a few places
2020-07-20 15:02:05 -07:00
Michael Kirk
783f91ae0c
Commuter Patterns: to/from icon overlays current block ( #214 )
...
* Commuter Patterns: to/from icon overlays current block
Also, masks the current block
* Code Review: code structure, no behavior change
2020-07-20 14:40:09 -07:00
Dustin Carlino
e06faa3c33
make an AgentType enum, stop abusing TripMode. a small first step,
...
showing agent meters properly
2020-07-17 15:13:36 -07:00
Dustin Carlino
33c5ffef4c
first wave of character art from holly!!!
2020-07-13 21:09:36 -07:00
Dustin Carlino
d52a0e8a35
new scenario mod: force everyone to make a mode change
2020-07-06 16:29:51 -07:00
Dustin Carlino
ac88a96f61
use a different icon for train stops
2020-07-03 17:49:36 -07:00
Dustin Carlino
07bf9725d4
use a regularly spaced marking for construction instead of the weird
...
stripes. clean up the hack in the shader
2020-06-24 08:36:47 -07:00
Dustin Carlino
50de52439f
tune wording of tutorial. finally introduce the drone [rebuild]
2020-06-15 17:33:37 -07:00
Dustin Carlino
5cda64d6fd
adjusting start/end marker icons
2020-06-14 12:32:44 -07:00
Dustin Carlino
dfb9e7e349
move gameplay meters to the side. also start capturing logs for linux
...
and mac too
2020-06-11 14:55:56 -07:00
Dustin Carlino
4975260911
adding challenge task description, independent of cutscene
2020-06-08 15:17:40 -07:00