Commit Graph

206 Commits (9c396e318390d06a554f7e65b42e237cb1f20e36)

Author SHA1 Message Date
Elijah C. Voigt d3c2289d41 why you no iter_many_mut().for_each()??? 2 years ago
Elijah C. Voigt c04f72dccd 🤷
The tutorial fails to init sometimes for some weird reason...
2 years ago
Elijah C. Voigt a7ffd6e0f9 Button images rough implementation
Tuning font sizing and need to add font changes upon interaction
2 years ago
Elijah C. Voigt 8e2d4ab7af Still not sure how to get rid of fog at startup... 2 years ago
Elijah C. Voigt bd303af745 clicking through animations/intro scroll 2 years ago
Elijah C. Voigt ca95bf46ec escape is handled gracefully in most situations 2 years ago
Elijah C. Voigt 1ffb34b93b Well I got endgame working, then I kept going
Probably broke something, but I'm working on escape handling in
different contexts. Mostly going to the "expected" menu.
2 years ago
Elijah C. Voigt aef8c719f2 tutorial menu works 2 years ago
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
Elijah C. Voigt 52efde3756 Progress toward the dissolve animation
Not sure why the base coat is gray instead of transparent...
2 years ago
Elijah C. Voigt eea2f879d0 skeleton for capture animation flow 2 years ago
Elijah C. Voigt 31041be37c Light tweaks working 2 years ago
Elijah C. Voigt 90a33be8be Fixup animations, add hover menu sound 2 years ago
Elijah C. Voigt 3d5d1dd42a Getting things mostly fixed up with the 0.12 update
Problems with animations, regressions IMO. Not sure how to fix w/
correctness in mind.

Waiting on sam to make some updates to the assets file before fixing
animations then can produce a build.
2 years ago
Elijah C. Voigt a1a0814673 Things mostly work! Solved the dumb camera anim... 2 years ago
Elijah C. Voigt 87b6672631 Everything works!... except animation... 2 years ago
Elijah Voigt de30eaf06a Mostly working, battling handle types 2 years ago
Elijah Voigt cef69b81cc Toml generalization
Trying to make the tweakfile code more general purpose.
I'd like to just throw stuff in there and reference it in code without
having to modify structs and stuff.

So far it's tedious, but mostly because I'll have to go back and rewrite
a bunch of code... sadge.
2 years ago
Elijah C. Voigt 837c345ffe Making progress toward 0.12 upgrade completion 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 13a2e9f0a0 Started light tweaks 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 4040d55372 3d models/materials/animations tweaks
Likely cannot update these in real time...
2 years ago
Elijah Voigt d7d89d71da Side switching works! 2 years ago
Elijah Voigt 4c548cdb45 Ayyy, got 2d sprites loading! With tweaks!
Now to get it to reload...
2 years ago
Elijah Voigt 7a35c3e233 BROKEN: Change order of loading systems for tweakfile 2 years ago
Elijah Voigt 3f8232283e adding msaa configuration 2 years ago
Elijah Voigt 589be78b2b Added tonemapping tweak to tweakfile 2 years ago
Elijah Voigt 0f17a2523a Integrating fog and adding color grading to tweakfile 2 years ago
Elijah C. Voigt 3429e8f0bd Parsing fog implemented.
Now just need to use the fog values...
2 years ago
Elijah C. Voigt 296d79afeb Half way implementing fog tweakfile changes
Parsing the fog parameter in toml is a PITA but a good lesson for future
tweaks I guess...
2 years ago
Elijah C. Voigt ff7b707bef *Actually* fix hovering sound not stopping issue
And avoid dumb string comparisons that don't even work!
2 years ago
Elijah C. Voigt 96c3597c67 Use Sam's 2d/3d toggle button icons 2 years ago
Elijah C. Voigt 79f1e0813d Very roughly using the spotlight valid move indicators 2 years ago
Elijah C. Voigt d3d46a7788 Got tiles working 2 years ago
Elijah Voigt e2c2f50ab3 Only make display mode switch avaliable after loading 2 years ago
Elijah Voigt cc0299a65a Rule: No move rejections (sideA->sideB->sideA) 2 years ago
Elijah Voigt d737e9c10d Restirct movement to non-self-capture tiles 2 years ago
Elijah Voigt 69205318dd Move loading system to loading.rs 2 years ago
Elijah Voigt 1fcd30b026 Restrict movement to valid moves
Now need to fix valid moves to be accurate
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 087b427506 Possible solution to cancel hover and music audio 2 years ago
Elijah Voigt cf68b7aecf Tried to re-center the pieces but they it is fraught... 2 years ago
Elijah Voigt ed9a2d6581 Camera animations! And Turns! 2 years ago
Elijah Voigt 420742a2eb Some cleanup, starting on opening animation fixups 2 years ago
Elijah Voigt 44b233f13f Only play MenuSelect when an item is selected 2 years ago
Elijah C. Voigt 39d9b6a6c8 Update 3d model glb file in sync with google drive. 2 years ago
Elijah C. Voigt e8e53dcc86 Add asset for number of cameras (should be 1 per display state) 2 years ago
Elijah C. Voigt 3cee6763f5 Asset cleanup, playing around with hot-swapping music 2 years ago
Elijah C. Voigt 5f2cd7bb4a Audio fixed! 2 years ago