216 Commits over 731 Days - 0.01cph!
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
Update paddle hit physics, calculate bounce with relative ball velocity to the paddle, dont add multiplied paddle velocity to ball on bounce normal, simply transfer the velocity 1:1
Fix up debug mode so the game throws endless balls at you to return
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
Grab rank icons from pool
Show player's rank on their nametag
https://files.facepunch.com/devultj/1b1411b1/sbox_5Agq9P2S3r.png
Cleanup, create rank component on join
Add RankComponent.RankImage
Add a cheap and nasty rank decision system
Add RankComponent, grab player's Elo if possible when they join
Let the game know if a player left the game too early, and also restart the game.
Start recording game events for Elo
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
Hacky hack for preventing the paddle sound playing twice locally
Initialize anchor to prevent runtime errors
Add VrAnchor, started work on client anchor preferences.
Refactored paddle hit to include hit position, should fix sounds from non-local paddle impacts
Send a hint to the serving player if they fail to serve properly
Fix realm for returning the ball on a failed serve
Re-enable giving serving ball in game loop