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
57963126fa
Fold number of housing units into Building; ditch the extra file approach.
2020-12-01 12:43:19 -08:00
Dustin Carlino
6b736b48e5
Add instructions. [rebuild]
2020-11-30 11:39:31 -08:00
Dustin Carlino
c6a204332c
Score deliveries based on the number of housing units, and color single-family vs apartments to reflect the points
2020-11-30 11:21:20 -08:00
Dustin Carlino
057587076c
Split config for different levels, add some sort of title screen
2020-11-29 15:44:45 -08:00
Dustin Carlino
fe7a3e44f6
Instructions to recharge
2020-11-28 21:00:00 -08:00
Dustin Carlino
51d4f4dac8
When out of energy, point to a depot.
2020-11-28 20:47:49 -08:00
Dustin Carlino
966ff76cd3
Let it snow...? Needs considerable work, looks awful.
2020-11-28 19:32:03 -08:00
Dustin Carlino
f030086e8e
Overhaul how buildings get colored in different states, and reset things
...
when changing depots
2020-11-28 17:07:14 -08:00
Dustin Carlino
02d5e3cea3
Express energy and points needed to next upzone as meters, not text
2020-11-28 16:11:08 -08:00
Dustin Carlino
d6c179385e
Start in night mode, and adjust minimap coloring there
2020-11-28 10:19:21 -08:00
Dustin Carlino
fad0358553
Experiment with animation
2020-11-28 10:12:00 -08:00
Dustin Carlino
4b28cfe806
Add a minimap
2020-11-28 09:45:58 -08:00
Dustin Carlino
b6484f31d4
Upzoning
2020-11-27 17:42:58 -08:00
Dustin Carlino
ab18b72b4c
Can't move while recharging. Slow down when out of energy.
2020-11-27 10:12:00 -08:00
Dustin Carlino
fddfd680de
Recharge energy
2020-11-27 09:41:34 -08:00
Dustin Carlino
62dc979677
Add a second meter to the experiment.
2020-11-26 16:47:12 -08:00
Dustin Carlino
b7f3f2113b
Start refactoring a common UI pattern: recalculate some value only when ( #406 )
...
Start refactoring a common UI pattern: recalculate some value only when
a key changes.
It's quite verbose right now for some widgetry States to determine if
the mouse is over a particular type of object, check if that object has
changed since the last time, and calculate something based on it. This
introduces a new helper for expressing the pattern a little more
clearly.
2020-11-25 12:22:11 -08:00
Dustin Carlino
b6ebee0dd8
Tiny refactor: Drawable::empty(ctx)
2020-11-25 11:19:26 -08:00
Dustin Carlino
ca83e7e679
Add some basic functionality to the mysterious experiment
2020-11-24 16:33:29 -08:00
Dustin Carlino
f3ff910c37
Cleanup from the great app split:
...
- move show_zorder into DrawMap
- reorganize modules in map_gui
Next is to reorganize/collapse modules in game.
2020-11-23 17:58:32 -08:00
Dustin Carlino
ad0d1ae7a4
Split out the OSM parking mapper into a separate app, temporarily
...
WITHOUT mouseover.
2020-11-23 17:58:32 -08:00
Dustin Carlino
e6d21d81e7
Add the city picker to the experiment, as a way to lift it to map_gui.
2020-11-23 17:58:32 -08:00
Dustin Carlino
859d78f2cf
Refactor the CLI flag parsing that all apps will share.
2020-11-23 17:58:32 -08:00
Dustin Carlino
ab2f6fefec
Split the controls experiment into a separate binary, get it to draw a
...
map way more simply than the game
2020-11-23 17:58:32 -08:00