branchrust_reboot/main/CardGamescancel
464 Commits over 120 Days - 0.16cph!
Handle the case where a player leaves (or dies) mid-game, when they're all-in for more than the other player(s), and hence should have got some of the pot back even if they lost. Pay out the pot ignoring all-in limits if there are no more players to pay out to.
Rename card images for extra clarity when used in the inspector
Fix third person cards showing if player is in first person
Show 3rd person card models
Fix chat window in poker UI not respecting show chat option
Fixed non bypassed keybinds still working while in poker UI
Fixed voice chat icon not appearing after joining a card game
Fixed some keybinds being allowed when text input fields have focus
Show translated hand results on player UI widgets at end of game
Fix poker results calculation order bug
Fixed extra player widgets appearing on tables with less than 6 seats
Add a sanity check warning if there is any scrap left in the pot after winner payouts
Dispose old winner info proto data properly on the server side
Check and Call can't ever be options in the same turn, so let them both be on the C key for simplicity
Increase time between rounds to six seconds
Fixed the player's cards not always updating at the next round. Updated how PopulateCards is set.
Fixed protobuf winner data not being copied across
Compile fix for inspector vars
Have the UI say to hold Space
If player's score is the same, sort by bet amount in ascending order. Should ensure that final payout is correct
Set the world cam on the playing cards canvas
Move the card UI slightly closer to the card
Raise the round winner info so it doesn't overlap world-space cards
Set up the transparent card images, use them in the UI
Fix server compile on PlayingCardsViewmodel
Update WinnerBreakdown RPC handling
Properly assign playing cards on vm
Disable UI cards
▍█▍▇▊▍▄▊ ▆▉▇▇▉▇ ▇▊▌▋▆ ▋▌▌▆▆█ ▉▋▊▋
█▅▆▅▆▄ ▊▅▅▅▉▉▌▌▊ ▄█▅▆▇▋▊▄ ▍▇ ▍▌▄ █▆▇▇▍▍▍▌ ▊▊▄▊ ▌▇ ▍▉█▋ ▊▅ ▅█▊▄ ▉█▍▌▄▇▋.
▇▆▊▊▌ ▌▅▊ ▍▌ ▋█▌ ▅▉█▇▊ ▉█▉▆▊▌ ▄▊▇▌ ▉▍▄ ▌▇▌▋█▆ ▊▅▋▆ ▅▊▆ ▇▄▋▍▄ ▍▉▆▉▌▆▄▉▋ ▊▆█▇▄▄▌ ▍▄▍▇▅▆ ▊█▋▆█ ▊█▉ ▄▌▇▌▉▇ + ▌▇▉▊▋▍█▄▍▆▌ ▄▉██▍▋▉
▍▋▌▋▋▉▋▇ ▅▅▉▇▄▉ ▉▊▍ ▉▉▇▊▅▋ ▉▉█▇▇ ▅▍ ▅▅▄▌▍▋ █▄▉▍▌▇▋.
▆▉▉▅▇█▍ █▌▇█▌ ▋▄▇▅ ▆▆█▆▆ ▄█▆▆▊ ▌▅▍▍▊█ ▆█ █ ▄▍ ▇▄▌▆█▆▌ ▊▍▅▋▅▌▇▋█▅▉ ▆▄▇▍ ▋▊▋▉
▌▊▍
Cancel TimeoutTurn invoke if game ends
Remove any lingering scrap in the pot when loading a save
You now need to hold space down for a second to dismount the card table while in game
Fix up the card send/rec RPC
Final(?) card material update. Looking good in all lighting situations now.
Change card material again
Added a notification when a player leaves the game
Fixed another leaving game edge case
Improved the look of the world space cards UI. The UI component is now affected by light sources, reds don't look so bright
Fixed some more edge cases where players leaving mid-game weren't being handled