Dustin Carlino
e22727ee98
reorganizing info panel code, splitting into modules
2020-03-23 14:25:16 -07:00
Dustin Carlino
a301343159
add a setting to scale up on-screen UI things [rebuild]
2020-03-02 12:02:25 -08:00
Dustin Carlino
b3917bf17b
mechanical rename of UI -> App
2020-03-02 09:51:20 -08:00
Dustin Carlino
5e85eee935
clean up dev tools mode, removing ModalMenu dependencies and modernizing
...
different UI things
2020-02-27 10:38:48 -08:00
Dustin Carlino
34b1f342a2
fix map deserialization in wasm. 64-bit usizes in fast_paths was the problem.
2020-02-25 14:49:56 -08:00
Dustin Carlino
763d7ebe34
rip out the old Stage abstraction. I would do this more slowly, but we can't clone the spawn closure. the flow of the tutorial is pretty much the same, but now we could display specific message boxes better
2020-02-24 14:29:10 -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
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
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
Dustin Carlino
fad4cdbda2
plumb font directory so it'll work anywhere, but still would prefer to bundle binary data properly
2020-02-08 10:36:44 -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
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
e87e77f06e
hide other challenges outside of dev mode
2020-01-30 13:55:48 -08:00
Dustin Carlino
ec1e3f435b
make it easy to dump raw events for debugging on windows/mac [rebuild]
2020-01-12 09:35:38 -08:00
Dustin Carlino
e2de6b24d9
start windows maximized
2020-01-10 11:23:52 -06:00
Dustin Carlino
5b6e7a6f54
jump straight to a challenge from command line for fast development. fixes #31
2019-12-26 18:53:44 -06:00
Dustin Carlino
9aa4fda837
overhaul color scheme. no more dynamic picker or saving. sometimes
...
generate an easily editable JSON file.
2019-12-17 11:05:07 -08:00
Dustin Carlino
e893e6b98c
add a flag to override DPI, so we can tune on mac
2019-12-16 19:09:02 -08:00
Dustin Carlino
061aed2624
add in a shim to collect contextual actions. just silently pass-through to old behavior for now.
2019-12-11 15:04:32 -08:00
Dustin Carlino
81a19eb78d
remove the experimental hi-res grass and park textures and all the
...
flagged off textures. going to experiment in a different branch instead.
2019-12-05 09:37:05 -08:00
Dustin Carlino
10e44dd0b8
move dev flag into options
2019-12-03 14:36:51 -08:00
Dustin Carlino
3fc4684fec
starting an options panel, with a way to toggle traffic signal rendering style
2019-12-03 10:39:16 -08:00
Dustin Carlino
042db55009
try out a managed GUI state with, gasp, callbacks
2019-11-24 17:53:13 -08:00
Dustin Carlino
1440a8630b
prototyping a text button, using it for a title screen
2019-11-24 15:23:28 -08:00
Dustin Carlino
54a58f865c
argh, fix the nondeterminism. when i refactored flags a while ago, this happened. prevent from happening again.
2019-11-20 21:57:52 -08:00
Dustin Carlino
9b82e7288b
move load map functionality into freeform/scenario mode. hide other
...
things that players shouldn't see yet
2019-11-07 10:00:44 -08:00
Dustin Carlino
06dd88ec34
first cut on prebaking challenge results against different baselines.
...
just for faster trips right now.
2019-11-01 13:33:02 -07:00
Dustin Carlino
53bd77332e
start structuring the UI for selecting and running a challenge
2019-10-30 20:44:27 -07:00
Dustin Carlino
7c3a26fed8
making ItemSlider and all trip viz also combine menu and slider better
2019-10-07 14:54:42 -07:00
Dustin Carlino
3459d9c8fd
change default font size by flag
2019-10-07 10:39:09 -07:00
Dustin Carlino
e7507bad85
plumbing initial settings to ezgui better
2019-10-07 09:45:53 -07:00
Dustin Carlino
fbb7d8ac96
cleaning up CmdArgs usage
2019-09-19 10:42:16 -07:00
Dustin Carlino
f18fc72265
finish structopt removal
2019-09-18 17:29:34 -07:00
Dustin Carlino
9ed38c849c
be able to flag off using textures, and sub a fallback color. also move texture loading into the loading screen. and fix the release script
2019-09-10 17:04:33 -07:00
Dustin Carlino
9a624397e0
supporting up to 10 textures
2019-09-10 15:44:07 -07:00
Dustin Carlino
caaf0954ab
rename the main editor crate to game -- map editing is just a tiny piece ;)
2019-09-07 13:09:09 -07:00