Compare commits

..

255 Commits

Author SHA1 Message Date
Elijah C. Voigt bc0380b44b Fix minor error with windows packaging 1 year ago
Elijah C. Voigt 96e173fbc2 Slightly fix fade in making it shorter 1 year ago
Elijah C. Voigt 92fdacc676 Fix that compiler warning 1 year ago
Elijah C. Voigt efefb46699 Packaging for v1.0 files 1 year ago
Elijah C. Voigt 0cdaa09dc8 standardize MartianChess package naming 1 year ago
Elijah C. Voigt 393e18f927 Allow skipping title before complete 1 year ago
Elijah Voigt a92c5112e7 Linux AppImage + build scripts infra 1 year ago
Elijah Voigt eb0c327053 Merge branch 'main' of https://gitea.elijah.run/pop/martian-chess 1 year ago
Elijah Voigt 66b02d447e Move linux and windows build scripts 1 year ago
Elijah Voigt 90584babb6 Macos builds working
Includes fmod (dynamic linking) and pretty dmg installer
1 year ago
Elijah C. Voigt 061ba38092 logos 1 year ago
Elijah C. Voigt 2ed2afe4cc Merge branch 'main' of https://gitea.elijah.run/pop/martian-chess 1 year ago
Elijah C. Voigt dd098d9b52 logos 1 year ago
Elijah Voigt 2c1cee0c9a fixup more build related stuff! 1 year ago
Elijah Voigt 687fe39b68 Fixup libs and linux build.sh 1 year ago
Elijah C. Voigt ad864adc1b better end-screen font 1 year ago
Elijah C. Voigt f522c2cbbf Fixed a very minor bug with camera switching + ai mode 1 year ago
Elijah C. Voigt ba4414226f Change all logging from info!/warn! to debug! 1 year ago
Elijah C. Voigt 4b9e45d841 Clean up *some* of the camera jank 1 year ago
Elijah C. Voigt fe87c4f10a Make vantage point less janky 1 year ago
Elijah C. Voigt 046169bca2 Fullscreen 1 year ago
Elijah C. Voigt 9d7fffdca0 Fixed scoring and disabled vantage for AI mode 1 year ago
Elijah C. Voigt 81d90ae837 I dont hate this. 1 year ago
Elijah C. Voigt fcf39c2cf4 AI waits for tutorial! 1 year ago
Elijah C. Voigt 53922bcd91 its a total hack but this is better! 1 year ago
Elijah C. Voigt db09fe8cce AI is almost fully working! 1 year ago
Elijah C. Voigt 78d70bf2a0 Pull in Sams tweak updates 1 year ago
Elijah C. Voigt 89a5108459 Correctly wired up "vantage angle" camera. It's better! 1 year ago
Elijah C. Voigt e729c82476 Update assets, remove unecessary ogg files 1 year ago
Elijah C. Voigt 6f5064a308 Initial pass at bogo AI
Not fully wired up. Need to figure out how to gate the pass-n-play based
on the state and only change the state when in human mode. When in AI
mode, just let the AI pick a piece and move without the camera changing.
1 year ago
Elijah C. Voigt 5604796328 Prepare for additional camera angles 1 year ago
Elijah C. Voigt d045800ae3 Undo! 1 year ago
Elijah C. Voigt fcf89e91fc Generalized 3D model management
This as it turned out was not as much of a win as I would have liked,
especially now that the title is an image instead of a model.

But it is still nice to have a more ECS-centric way of managing
models.
1 year ago
Elijah C. Voigt 665691d000 Add "Skip" button to intro and title
This is not the same as a save file that skips automatically, but I
think a fair compromise.
1 year ago
Elijah C. Voigt 99edfd596b "Skip Tutorial" -> "Skip" button 1 year ago
Elijah C. Voigt 21afcf0cef air-quote "fix" animation skipping
By setting all animations to 1.0x speed.

Need to make an upstream PR to fix bevy's animation engine.
1 year ago
Elijah C. Voigt 7e5564720d Fix double dissolve for pieces by moving hierarchy
Thankfully there wasn't a lot of logic tied to that hierarchy...
1 year ago
Elijah C. Voigt e9c9afe2b6 Nudge letters on buttons for better button feel 1 year ago
Elijah C. Voigt 72ea887925 Fix small correctness bug
But like... they're all big because correctness is a requirements...
1 year ago
Elijah C. Voigt cfe48d8b79 Correct-er intro tutorial 1 year ago
Elijah C. Voigt 60b73b9889 Higlight a piece to pick up during tutorial 1 year ago
Elijah C. Voigt 451e73793b Update audio assets, Reset tutorial state 1 year ago
Elijah C. Voigt 18b2341b6a tutorial quality of life improverments 1 year ago
Elijah C. Voigt 29144126e9 Fading title image
I agree it looks better than the dissolve 3d effect (with the board
dissolving behind it)

Probably needs tweaks but pretty good.
1 year ago
Elijah C. Voigt ce697ba342 Fixing bugs!
* Add playtestsers to credits
* Make credits titles more title-ey (bigger)
* Fix window scaling bug
* Fix speed ramp happening during menu/credits
1 year ago
Elijah C. Voigt 16d42f77cf Right-click to de-select pieces 1 year ago
Elijah C. Voigt 6f53ff2611 Make intro speedier 1 year ago
Elijah C. Voigt 3fd9f483ae Update audio and gltf assets 1 year ago
Elijah C. Voigt 81ad7b8048 Fix GPU memory issues 1 year ago
Elijah C. Voigt bcb75c2564 New intro looks sick as hell. Just had to slow it way down. 1 year ago
Elijah C. Voigt b3dcacecd8 Fast ish compiles, improved intro flow 1 year ago
Elijah C. Voigt e7364b4344 Add capture SFX
I don't love it, so it's easy to disable.
But it's there if we want to keep it.
1 year ago
Elijah C. Voigt 91787dff88 And with that... I believe we have correctness
Animations are still a bit janky but the core gameplay loop seem secure!
1 year ago
Elijah C. Voigt 9bb6d08d28 Still getting capture flakeyness
Need to re-write the capture flow.

Also need to add the 'setup' state again so loading doesn't suck.
1 year ago
Elijah C. Voigt 3e29298214 Asserts about game piece state... 1 year ago
Elijah C. Voigt 1a9c774ccf Make score keeping idempotent
Also add 'being captured' to capture flow.
1 year ago
Elijah C. Voigt 620133a45c Still troubleshooting why some pieces are not fully captured... 1 year ago
Elijah C. Voigt a73b97191d Add aabb check for much fps! 1 year ago
Elijah C. Voigt 41f51715ca Add memory tracing 1 year ago
Elijah C. Voigt 900b9d4a8f Stripped down assets 1 year ago
Elijah C. Voigt 0aa3c2725c Reduce build size, revert testing board 1 year ago
Elijah C. Voigt b5db24553e Spotlights do not cast shadows
This really helps the framerate... to an extent
1 year ago
Elijah C. Voigt 6f613d730e Undo temporary board change -- oops! 1 year ago
Elijah C. Voigt 9f3b9151b3 Fixed dissolve for pieces crossing canal 1 year ago
Elijah C. Voigt 5f3ed207fa Shdaow example + fixed shadows
Turns out one of the two things I fucked with caused the shadows to be
borked! What are the odds! (very high)
1 year ago
Elijah C. Voigt bb2775b5eb Tweakable animation speeds for everything
Pressing speeds up animations across the board
Animation "fast" speeds can be tweaked per category:
* text
* movement
* light
* dissolve
1 year ago
Elijah C. Voigt 9c4e43a24c Animation speed for dissolve looks sick as hell 1 year ago
Elijah C. Voigt c319ecab61 Just left click (now for de-selecting pieces) 1 year ago
Elijah C. Voigt 9c396e3183 Loading is fixed and merging is partially fixed
Still have to get rid of one of the two merged pieces
1 year ago
Elijah C. Voigt 82b1f00d14 loading is blocking again
Thank glob.
1 year ago
Elijah C. Voigt 2295de0043 Loading is borked, but tutorial worked... 1 year ago
Elijah C. Voigt 2a33dd7464 Revert to old game board 2 years ago
Elijah C. Voigt 0c56bd18a1 Wait I think merging works?! fuck yeah. 2 years ago
Elijah C. Voigt 098df2998b Fixed moves correctness!
Sans merging which we still haven't wired into the real game...
2 years ago
Elijah C. Voigt 80738dd217 Merging moves implemented ish
At least on the backend. Not sure they're rendered.

God bless test driven development, amirite?
2 years ago
Elijah C. Voigt 40b40ae887 Tests pass
Feels good man
2 years ago
Elijah C. Voigt 33f37d57c4 I think it's working again
*wipes brow* thank god.
2 years ago
Elijah C. Voigt 2fb524643d Saving place. Broken but don't want to go further... 2 years ago
Elijah C. Voigt b86aea043e Parsing board from ascii
Mostly useful for testing!
2 years ago
Elijah C. Voigt df1a2a3bf7 put-down animation works!
Thank christ
2 years ago
Elijah C. Voigt 4cebce8bf2 break down select and pointer hover
This allows us to hook into the hovered piece for debugging
2 years ago
Elijah C. Voigt 63ca981aa4 somewhat fix shadows with system ordering 2 years ago
Elijah C. Voigt 0cf4fe4fb6 handle skip to end of animation 2 years ago
Elijah C. Voigt 52f978e70a Basically the intro works...
There's def some bugs with clicking through the intro title...
2 years ago
Elijah C. Voigt 95559d8887 Very small quality of life stuff, broke shadows
Click to move through into + title
Speed up animations by pressing down instead of jumping to end.
    (tweakable)
2 years ago
Elijah C. Voigt 9f5856f86f Add shadows, fix some animation jank, iterate on valid move indicator 2 years ago
Elijah C. Voigt 5bf70e5980 Updated skybox, title, buttons 2 years ago
Elijah C. Voigt 6e2d96a17b audio intensity 2 years ago
Elijah C. Voigt 1a056277c9 Fixed a small amount of jank with the alpha on the title
Still a small amount of alpha jank on buttons sadly...
2 years ago
Elijah C. Voigt a0c50a88c6 Slightly improved valid move indicator, title rendered text 2 years ago
Elijah C. Voigt 3d6ca40e67 There are some bugs in the rewrite, need some elbow-grease to iron them out 2 years ago
Elijah C. Voigt 3157666d84 Re-architecture for moves
Now that moves are a bit more complicated I did a pass at calculating
which moves are valid for a given piece.

The speed/memory usage on this version is likely higher, but we're
dealing with really small numbers of moves so I'm not worried about
it. Optimizations should be simple if I look for them.

As for the re-architect, we generate a list of possible moves for a
piece, check that against some candidates spot, and if it _could_ be a
valid move, we do additional checks like if this is a capture, if this
is an invalidating move, or if this would "Jump" (which was my main goal
with this refactor).
2 years ago
Elijah C. Voigt f0befe0928 Queen "no jumping" is _mostly_ implemented.
You can still jump over enemies which is BS.
That is going to require some... magic... to fix.
2 years ago
Elijah C. Voigt 0edfcfec5b Drone has "no jumping" implemented 2 years ago
Elijah C. Voigt 7e69ae134a Lol fixed it 2 years ago
Elijah C. Voigt ec09fe4d28 So we un-fixed the issue with the dissolve
The base color seems really important... unfortunately...
2 years ago
Elijah C. Voigt 12feaca205 OK intro animation looks good enough... for now. 2 years ago
Elijah C. Voigt 783eb95fe4 cargo fmt 2 years ago
Elijah C. Voigt 595076607e I mean the intro part works...
Outro does not...
2 years ago
Elijah C. Voigt eb698b0316 First stab at dissolving title
I wrote this literally without running it.
Let's see if I nailed it :fingerscrossed:
2 years ago
Elijah C. Voigt 7fd38dab26 yay the shared material problem is fixed
Now on to getting that intro dissolving!
2 years ago
Elijah C. Voigt 3275582176 cargo fmt... also maybe fix that shared materials thing 2 years ago
Elijah C. Voigt 2d476b89da Oh good, the piece was moving, it was just invisible! 2 years ago
Elijah C. Voigt 37a7488852 Dissolve refactor: It ain't perfect, it ain't done, but it's progress!
Yay incremental progress toward the old effect!

The function that plays the animation for dissolving when pieces are
tagged is roughly working.

The only downsides now are that multiple pieces are sharing the same
material, and more importantly the piece should be moving to the side of
the board but it is not!
2 years ago
Elijah C. Voigt 7b4682bc21 mid refactor: dissolve::{in,out} tagging for animation
So far things are borked, but it _feels_ like we're going in the right
direction
2 years ago
Elijah C. Voigt 72811d6d04 The dissolve texture is fixed!
Somehow there are _more_ bugs now, but a big one is fixed!
2 years ago
Elijah C. Voigt e4e993ed64 Dissovle not fixed, but at least it doesn't crash! 2 years ago
Elijah C. Voigt 1b70e0707e Fixing selecting multiple pieces woot woot! 2 years ago
Elijah C. Voigt 06fa416447 Model replacement kinda sorta works -- ship it! 2 years ago
Elijah C. Voigt 6ce3fffa87 Still borked, saving my place
rolling back in hopes that it fixes things...
2 years ago
Elijah C. Voigt 0972d2ef91 Welp I broke something... 2 years ago
Elijah C. Voigt c9cf364c13 Saving my place before making a big change
Going to try simplifying the piece updating logic into one method
2 years ago
Elijah C. Voigt 3d613864bd Upgrade successful, the game runs! 2 years ago
Elijah C. Voigt ac7458a0f9 Clippy is happy 2 years ago
Elijah C. Voigt 618d0c87b4 Remove examples
Too much work to maintain wrt upgrades
2 years ago
Elijah C. Voigt 023dd9dc00 Clippy fixes 2 years ago
Elijah C. Voigt e031ebd22a Fixing some bevy 0.13 errors 2 years ago
Elijah C. Voigt 877f7001b1 Mostly updated to bevy 0.13 2 years ago
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 a97204c6e4 Animated driven by rust instead of shader!
FTW!!!
2 years ago
Elijah C. Voigt 5804f78d25 Fuck yes we got a good approximation of the effect working! 2 years ago
Elijah C. Voigt b2dd8e4e3c Merge branch 'main' of https://gitea.elijah.run/pop/martian-chess 2 years ago
Elijah C. Voigt 7c6edf31cc Saving my place w/ shader example 2 years ago
Elijah C. Voigt f90042827e Just a lil commit! 2 years ago
Elijah C. Voigt 8a2a2ac7ea This is a commit message.
It is very descriptive so my collaborators know what I did.
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 C. Voigt 568925ed98 Assets sync 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 a784bd1c2f Cite your sources 2 years ago
Elijah Voigt e0cb6b8bef Starting on rules implementation 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 6ee1aeec0b Nevermind, going back to shell.nix 2 years ago
Elijah Voigt e978d40ff0 trying nix flakes
Seems to basically be a drop-in for what I was using?
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
Elijah Voigt 5b2ba79895 Remove TODO, everything is in notion 2 years ago
Elijah Voigt 50d35533cc Hey it worksgit add .; git commit Selection handling refactor FTW 2 years ago
Elijah Voigt 12bf2ea96d About to make a big refactor to selection 2 years ago
Elijah Voigt 0d4a800456 OK so 2d/3d switching is pretty seamless (seemless?) 2 years ago
Elijah Voigt 012593b891 Fixed bug with 3d not having textures on startup 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 1d17937b4a oops, that wasn't supposed to be committed 2 years ago
Elijah Voigt 15c7f5c0fc and the color inconsistency 2 years ago
Elijah Voigt 8cee0b6fb5 I think the jitter-selected issue is fixed 2 years ago
Elijah Voigt 51888d5370 Added nix shell (switched from fedora) 2 years ago
Elijah Voigt d627e8229e small diff 2 years ago
Elijah Voigt 64b18d9883 Adding some tracing I guess... 2 years ago
Elijah Voigt 983779c948 De-select does not work... 2 years ago
Elijah C. Voigt ea99af748c possible moves works as expectedgit add .; git commit (now to filter down to actually valid moves... 2 years ago
Elijah C. Voigt 1eba3d962e moves is making progress 2 years ago
Elijah C. Voigt cdf0b52ea6 no progress is made, but code has changed 2 years ago
Elijah C. Voigt 61ce668383 it was z-stackinggit add .; git status duhgit add .; git status 2 years ago
Elijah C. Voigt 38b796ad31 bug infestation. selecting/capturing/etc in 2d works worse than in 3d 2 years ago
Elijah C. Voigt 8e0254c7e8 refactor states; separate display and play states 2 years ago
Elijah C. Voigt a5bb2aa385 exclusive selection 2 years ago
Elijah C. Voigt ade967fb67 Hey 2d and 3d selection work!
Small bug w.r.t. selecting multiple entities at once, should be a quick fix...
2 years ago
Elijah C. Voigt b4270899d2 Moving works in 2d!
Now just need to generalize 3d selection to select pieces + board tiles for movement to work there!

Exicted!
2 years ago
Elijah C. Voigt 729c74e932 Select refactors for 2d, sync select/deselects 2 years ago
Elijah C. Voigt fdd3ccaa84 cargo fmt 2 years ago
Elijah C. Voigt 5c92c07d94 Make it work on MacOS 2 years ago

@ -1,13 +1,32 @@
# Add the contents of this file to `config.toml` to enable "fast build" configuration. Please read the notes below.
# NOTE: For maximum performance, build using a nightly compiler
# If you are using rust stable, remove the "-Zshare-generics=y" below.
[target.x86_64-unknown-linux-gnu]
rustflags = ["-Zshare-generics=y"]
# [target.x86_64-apple-darwin]
# rustflags = [
# "-C",
# "link-arg=-fuse-ld=/usr/local/bin/zld",
# "-Zshare-generics=y",
# "-Zrun-dsymutil=no",
# ]
[target.x86_64-pc-windows-gnu]
rustflags = ["-Zshare-generics=y"]
linker = "clang"
rustflags = [
"-Zshare-generics=y", # (Nightly) Make the current crate share its generic instantiations
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads.
]
# NOTE: you must install [Mach-O LLD Port](https://lld.llvm.org/MachO/index.html) on mac. you can easily do this by installing llvm which includes lld with the "brew" package manager:
# `brew install llvm`
[target.x86_64-apple-darwin]
rustflags = [
"-Zshare-generics=y", # (Nightly) Make the current crate share its generic instantiations
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads.
]
[target.aarch64-apple-darwin]
rustflags = [
"-Zshare-generics=y", # (Nightly) Make the current crate share its generic instantiations
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads.
]
[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe" # Use LLD Linker
rustflags = [
"-Zshare-generics=n",
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads.
]

5
.gitattributes vendored

@ -1,5 +1,3 @@
fmodstudio/linux filter=lfs diff=lfs merge=lfs -text
fmodstudio/windows filter=lfs diff=lfs merge=lfs -text
assets/ filter=lfs diff=lfs merge=lfs -text
*.so filter=lfs diff=lfs merge=lfs -text
*.so.* filter=lfs diff=lfs merge=lfs -text
@ -17,3 +15,6 @@ assets/ filter=lfs diff=lfs merge=lfs -text
*.dll filter=lfs diff=lfs merge=lfs -text
*.lib filter=lfs diff=lfs merge=lfs -text
*.gltf filter=lfs diff=lfs merge=lfs -text
*.mp4 filter=lfs diff=lfs merge=lfs -text
*.dylib filter=lfs diff=lfs merge=lfs -text
*.dylib filter=lfs diff=lfs merge=lfs -text

34
.gitignore vendored

@ -10,8 +10,40 @@
**/.user/
**/.unsaved/
**/*.fspackage
**/Build/
!*.bank
# Windows files
**/*.ini
trace-*.json
*.blend
*.blend1
# Don't need this
.vscode/
*.tracy
temp/
# MacOS .package/.dmg related files
.DS_Store
*.dmg
!platforms/macos/Martian\ Chess.app/Contents/Info.plist
platforms/macos
icon_*.png
*.iconset
*.icns
# Linux AppImage related build files
platforms/linux
AppRun
*.AppImage
*.zip
*.tar.gz
.DirIcon
# Windows build files
platforms/windows
*.exe

3355
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -1,9 +1,34 @@
[package]
name = "martian-chess"
description = "Martian Chess videogame"
version = "0.1.0"
edition = "2021"
build = "build.rs"
[dependencies]
bevy_fmod = { version = "0.3", features = ["live-update"] }
bevy = { version = "0.11", features = ["jpeg", "hdr"] }
bevy_fmod = { git = "https://github.com/Salzian/bevy_fmod.git", branch = "main" }
bevy = { version = "0.13", features = ["jpeg", "hdr", "serialize"] }
serde = "1"
toml = { version = "0.8", features = ["parse"] }
anyhow = "*"
thiserror = "*"
winit = "*"
image = "*"
gltf = "*"
[features]
trace = ["bevy/trace_tracy", "bevy/trace_tracy_memory"]
debug = ["bevy/dynamic_linking", "bevy/file_watcher", "bevy_fmod/live-update"]
[profile.dev]
debug = 1
[profile.dev.package."*"]
opt-level = 3
[profile.release]
opt-level = "z"
strip = true
panic = "abort"
lto = true
codegen-units = 1

@ -1,2 +0,0 @@
[target.x86_64-unknown-linux-gnu]
dockerfile = "target/x86_64-unknown-linux-gnu/Dockerfile"

BIN
assets/Ryfjallet_cubemap.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save