branchrust_reboot/main/CardGamescancel
317 Commits over 120 Days - 0.11cph!
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
Fix up the card send/rec RPC
Final(?) card material update. Looking good in all lighting situations now.
Change card material again
Improved the look of the world space cards UI. The UI component is now affected by light sources, reds don't look so bright
Make the playing card material slightly emissive, useful for playing in relatively dark interiors
Adjusted card UI to only need one canvas
Better blending for the world-space cards
Add card deck with transparent backgrounds
Fixed card bone attachment. Cards now move correctly with the hands
Minor edit to use IsValid
Change the placeholder cards on the viewmodel to large versions
Set playing card UI shader to match the base view model
- Rewrote the card holding view model show/hide
- Refactored sending and handling the local player's cards
Basic hack to get the card-holding view model to show up for the local player. Will redo this properly later
Terrain update for my test map
Merge CardGames/HandleAllIn -> CardGames
Removed bottles etc from the bandit camp poker tables. Due to a quirk in the interaction system and the proximity to the chip storage, the bottles ended up showing up with an Open interaction, which was a bit confusing.
Random moves don't go all-in unless they have to
Refactored how we handle the active player index. Handling conversion between relative numbers (player 1, player 2...) and the actual index values of the players in different seats. Handles cases like having only players 0, 1, 3, and 5 in a game.
Safety check on random moves
- Improve small blind/big blind getter
- Show dealer/big blind/small blind in the UI
- Currently bugged, but at least this shows up the bugs
Actually temp revert for a better fix
Fixed small blind/big blind index calculation
Some general code tidy up
Add vsconfig to ignore list
- Turn timer fixes
- Free the card list in CardPlayerData properly
Some general code cleanup
Fixed some incorrect layer assignments on the different versions of the poker table
Fix deactivated card tables at bandit camp
Only show the turn timer in the UI when it's the local player's turn
▇▄▊▄▄ ▌▄▇█▆▄▆▉ ▊▊▄▇ ▅▄▄▍▆ ▄▋▆ █▍▅▅▌▆ ▌▄▊▋▇▌▍▍▅ █▇▉▊▅█ ▉▅▅▍▇ ▆▉▋▌▅▄ ▍▌ ▉▌▌▅▉▍ ▅▆▍▌
▇█▆▊▅▄▅▇ ▅▉▉▊ ▅▊▆▋█ ▍▍▇-▊▋▊▄▄▅ ▆▍▊▆▉ ▇▆ ▉ ▄▇▆▉ ▊▄▌▋▇█▅▋ ▌▄▍▊▅
▆▇█▌ ▇▉ ▇▇▊▄▊▉ █▉█▆▋ █ ▌▋▅▋▄▊ ▊▊▌█▉▄, ▄▆▊'█ ▊▅▍▌ ▍▋▌▊▄▍ ▄▅'█ ▄▉▅ ▊▉▅▉ ▊▉▇▌▅▋▋▌▌ ▊▄▇▍▍▌