branchsbox-tabletennis-vr/mastercancel
126 Commits over 365 Days - 0.01cph!
Update .sbproj to include resources
Removed unused sounds, added another ball bounce sound
Goodbye Poppins, you had a good run
Updated Helpers to Razor, fixed all game warnings
Get rid of ClientPreferencesWidget's template, fixed incorrectly grabbing display title for PropertyDescription
Converted MenuWidget to Razor
Added non-VR debugging methods to interact with MenuWidget / ClientPreferences
ScoreWidget converted to Razor, less code, less shit stylesheet
Converted HintWidget to Razor
Add VR check to set VR anchor
Fix for last month's engine refactor
Updated ClientPreferences to use PropertyDescription
Edited the velocity reflection to be a bit more arcadey
This is an odd take, but alter the timescale a bit
Remove blur from menu, doesn't seem to work in Vr
Give the point to the other team if the serve hits the opponent's side on the first bounce.
Actually remove the failed serve sound
Game Loop rewrite to account for correct serving rules
Started work on menu widget, instead of going straight into client preferences.
https://files.facepunch.com/devultj/1b1611b1/sbox_n0LKi4Seg7.jpg
Improve menu widget style
Give players a camera outside of VR, fake WorldInput outside of VR
Give menu widget avatars a nice box shadow based on team
Can open client prefs from menu widget
Added Menu Widget toggle
Unset active page if disabling menu
Don't play the failed serve sound for now
New Menu (left joystick down)
For debugging, positionthe player's hands manually in non-VR
Game loop cleanup, fixed losing score not being submitted.
Non-VR players get chucked into spectators, unless the host is running in tools.
Fixed LeaderboardType being inverted
Decreased distribution of elo rank brackets
Added shitty failed serve sound
Only show serve failure helper 5 times
Add GameState.FailedServe, don't instantly reset the serving state.
Add ReleaseGripToServe to client preferences
Added straight forward helper hint system
Changed serve grip behavior, now you hold then release, instead of just gripping.
Fixed game end not actually resetting state
If the paddle is hit by a player, and the ball hasn't bounced yet - award the serving team a point.
Better scoremaking decision for illegal shots
Use SetGameResult to send win/loss metrics
Fixed up Score Widget anchor for Red team
Fixed VrAnchor relativity
Fixed both teams informing the server of a bounce
Update .addon to include /UI/* folder
Truncate score widget names if they're too long.
Thanks, Eagle One Development Team
Re-fetch player elo's when a game starts
Set the default serving team when teams are constructed
Restyled score widget, added gamestatechanged event
Start recording game events for Elo
Let the game know if a player left the game too early, and also restart the game.
Record some scores
Add RankComponent, grab player's Elo if possible when they join
Add a cheap and nasty rank decision system
Add RankComponent.RankImage
Cleanup, create rank component on join
Grab rank icons from pool
Show player's rank on their nametag
https://files.facepunch.com/devultj/1b1411b1/sbox_5Agq9P2S3r.png
Add Ranking & Elo
- Start recording game events for Elo
- Add ranks, show them on the player's nametag
The game will end properly at 11 points. There's a few seconds between each point now too.
First draft at VR anchor editing. This is additive of any native playspace config you may have.
https://files.facepunch.com/devultj/1b1311b1/sbox_3ErsfgO5pd.mp4
Fixed client prefs error, added button styling, defaulted paddle angle to 90
Paddle Hand is visible - can turn it off in client prefs.
Cleaned up game loop, cleaned up serve decisionmaking