Commit Graph

24 Commits (5fc0706c106e66b01922cd14aab29d3d8245d9d3)

Author SHA1 Message Date
Elijah C. Voigt 5fc0706c10 Saving my place
Adding a little 'just_pressed' helper for system conditionals
Replaces that lambda I kept using all over the place
2 years ago
Elijah C. Voigt ca092ddbc0 Saving my place, reworking menus 2 years ago
Elijah C. Voigt 82b817a614 State management refactor
Have not run this, almost certain things are broken.

The general idea is we mark entities with components and have a general
purpose "OnStateChange" trigger that marks all "active state" entities
as visible and all "inactive state" entities as invisible.

This should simplify state management -- unless of course there are
exceptions which there will be and will require having some sort of
"Sticky<T>" component that says "When this state transition occurs,
don't touch this one entity"
2 years ago
Elijah C. Voigt 0a37814aeb Hacking in tutorial button.
Need to toggle it on/off, but this is a good step.
2 years ago
Elijah C. Voigt 6e31ce5304 Now it's slightly better, but why is there fog?? 2 years ago
Elijah C. Voigt 8825736373 tutorial main chunk, definitely buggy... for tomorrow 2 years ago
Elijah C. Voigt b983dc8e23 Stub out intro animation 2 years ago
Elijah C. Voigt fe2e023036 cargo fmt 2 years ago
Elijah C. Voigt 609ae8ebb9 In a good-ish spot, going to save 2 years ago
Elijah Voigt 0a79c8a53a This *should* be all I need for the 0.12 upgrade... 2 years ago
Elijah Voigt eca7e95e10 So close to getting it to compile...
Then the real fun begins...
2 years ago
Elijah Voigt 0511b8520a "fix" mouse cursors
Not sure this is final, but it's at least more general purpose.
Also buttons are consistent.
2 years ago
Elijah Voigt a58151ee52 Very simple 2d/3d toggle button
It's buggy as hell, but it works. Improvements come with icing.
2 years ago
Elijah Voigt 44b233f13f Only play MenuSelect when an item is selected 2 years ago
Elijah Voigt e2e535137a Most of the way toward the final camera setup
Two cameras only, one for 2d one for 3d -- none of this camera-per-state bs.

Still have a bug with switching while in the menu, but otherwise things
are working well.
2 years ago
Elijah Voigt c7692d36c1 Need to figure out a better way to camera...
The general idea is that we will have 2 cameras total, one for 2d and
one for 3d. Start with 2d and switch to 3d. Each camera will be marked
with it's state, and there will be a system which listens for some event
(or resource update) to change the camera.
2 years ago
Elijah Voigt 983779c948 De-select does not work... 2 years ago
Elijah C. Voigt 8e0254c7e8 refactor states; separate display and play states 2 years ago
Elijah C. Voigt 729c74e932 Select refactors for 2d, sync select/deselects 2 years ago
Elijah Voigt f87bfb5a6c Loading screen. Ironing out bugs with color change? 2 years ago
Elijah Voigt 2c17ecb1cd Credits!
They are very rough, but easy enough to improve with some simple
parsing.
2 years ago
Elijah Voigt f904945a05 3d board drawing and gizmos enabled with debug mode 2 years ago
Elijah Voigt 4dbf524e3f load state actually blocks now 2 years ago
Elijah Voigt 293f27aba9 menu! 2 years ago