Elijah C. Voigt
3091a15dea
main menu works!
2 years ago
Elijah C. Voigt
4b5c90f1ba
saving my place working on menus
...
Also refactored my custom any_component_X methods to act more like other
conditionals
2 years ago
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
b6cb7bcf13
Add Tutorial button to toggle it on/off
2 years ago
Elijah C. Voigt
30d755e8de
We have a favicon!
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
ad7090aa47
Changed formatting of tutorial text to be the side of the screen
...
Still got some formatting issues, mostly the font size on smaller
windows, but that can be addressed later...
2 years ago
Elijah C. Voigt
80ee571cb1
it is ugly, but it works. Intro is idempotent
2 years ago
Elijah C. Voigt
6e68b2fc2a
Only show piece tutorials once
2 years ago
Elijah C. Voigt
6e31ce5304
Now it's slightly better, but why is there fog??
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
974e878763
Fix bug with minimizing crashing the game
2 years ago
Elijah C. Voigt
2946c89f36
tutorial logic mostly works
2 years ago
Elijah C. Voigt
0f9d9b27ea
cargo fmt
2 years ago
Elijah C. Voigt
3acb1ad949
cargo fmt
2 years ago
Elijah C. Voigt
8825736373
tutorial main chunk, definitely buggy... for tomorrow
2 years ago
Elijah C. Voigt
7a72257633
Plan out tutorial
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
Elijah C. Voigt
59755d2bdd
cargo fmt
2 years ago
Elijah C. Voigt
716c94a5f3
Dynamic UI resolution
2 years ago
Elijah C. Voigt
666609e419
Not sure why, but resetting is not as elegant as I had hoped
...
This is definitely the right approach, but why is everything becoming
red??
2 years ago
Elijah C. Voigt
dc981aafea
cargo fmt
2 years ago
Elijah C. Voigt
2d60508471
Skip animation
2 years ago
Elijah C. Voigt
1d8a505d23
Example is close, but still no repro on the rendering bug...
2 years ago
Elijah C. Voigt
d75658939d
made example closer to real game, but still no repro...
2 years ago
Elijah C. Voigt
399c1c6208
Saving my place
...
This was too much work to accidentally fuck it up with my "fixes"
2 years ago
Elijah C. Voigt
8d88a54675
make the shader example closer to reality...
...
With Backup<T> and all that jazz...
I wonder if it will work in the real game!
2 years ago
Elijah C. Voigt
e6be125c7d
Fixed placing captured pieces on the side of the board
2 years ago
Elijah C. Voigt
54167d1f5f
factor in piece when scoring
2 years ago
Elijah C. Voigt
219621c1cc
Use tweak for credits
2 years ago
Elijah C. Voigt
f9197ab157
Merge PlayState with Side
2 years ago
Elijah C. Voigt
962bc335c2
cargo fmt
2 years ago
Elijah C. Voigt
1c206e3079
mute audio with `m`
2 years ago
Elijah C. Voigt
983314faac
Fixed "reject move" logic.
...
Added a system for tracking a pieces last move, which is not
necessary...
2 years ago
Elijah C. Voigt
438358aab2
Endgame kinda sorta implemented...
2 years ago
Elijah C. Voigt
0e2308929c
cargo fmt
2 years ago
Elijah C. Voigt
18f3797340
Adding endgame tracking
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 C. Voigt
f0a64541e1
Rip out 2d, merge editor and debug mode
2 years ago
Elijah C. Voigt
c9b2a22e68
Editor, plus better alignment for pieces on side of board
...
The pieces are still not in the right place...
2 years ago
Elijah C. Voigt
050dd1d3d1
Added scoring, but having trouble placing defunct pieces
2 years ago
Elijah C. Voigt
63dac42250
Refactor: valid move indicators no longer despawn
2 years ago
Elijah C. Voigt
8689574e95
Example works, not sure why gray in game.
...
Going to move on to some smaller wins
2 years ago