Commit Graph

11 Commits (82b817a614386403575128c71f3054cf0bc91c97)

Author SHA1 Message Date
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 80ee571cb1 it is ugly, but it works. Intro is idempotent 2 years ago
Elijah C. Voigt ae19a96844 Working better, but not intro -> game animation is missing
the game just pops into existance, no bueno.
2 years ago
Elijah C. Voigt d5f44b9639 Technically works, but want to tweak showing/hiding text boxes 2 years ago
Elijah C. Voigt 2bcc240cc3 Doesn't work, but saving my place 2 years ago
Elijah C. Voigt 0f9d9b27ea cargo fmt 2 years ago
Elijah C. Voigt 8825736373 tutorial main chunk, definitely buggy... for tomorrow 2 years ago
Elijah C. Voigt 7566ca1ca2 cargo fmt 2 years ago
Elijah C. Voigt 207d691b2e intro with basic animation 2 years ago
Elijah C. Voigt b983dc8e23 Stub out intro animation 2 years ago