branchsbox-tabletennis-vr/mastercancel

183 Commits over 731 Days - 0.01cph!

2 Years Ago
Changed serve grip behavior, now you hold then release, instead of just gripping.
2 Years Ago
Fixed game end not actually resetting state
2 Years Ago
If the paddle is hit by a player, and the ball hasn't bounced yet - award the serving team a point.
2 Years Ago
Better scoremaking decision for illegal shots
2 Years Ago
Use SetGameResult to send win/loss metrics
2 Years Ago
Fixed up Score Widget anchor for Red team
2 Years Ago
Fixed VrAnchor relativity
2 Years Ago
Fixed both teams informing the server of a bounce
2 Years Ago
Update .addon to include /UI/* folder
2 Years Ago
Truncate score widget names if they're too long. Thanks, Eagle One Development Team
2 Years Ago
Re-fetch player elo's when a game starts
2 Years Ago
Set the default serving team when teams are constructed
2 Years Ago
Removed debug code
2 Years Ago
Restyled score widget, added gamestatechanged event
2 Years Ago
Fixed up elo fetching
2 Years Ago
Add tt_nametag_self
2 Years Ago
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
2 Years Ago
Removed unused code
2 Years Ago
The game will end properly at 11 points. There's a few seconds between each point now too.
2 Years Ago
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
2 Years Ago
Fixed client prefs error, added button styling, defaulted paddle angle to 90
2 Years Ago
Paddle Hand is visible - can turn it off in client prefs.
2 Years Ago
Cleaned up game loop, cleaned up serve decisionmaking
2 Years Ago
Hacky hack for preventing the paddle sound playing twice locally
2 Years Ago
Initialize anchor to prevent runtime errors
2 Years Ago
Fixed anchor debug error
2 Years Ago
Add VrAnchor, started work on client anchor preferences.
2 Years Ago
Refactored paddle hit to include hit position, should fix sounds from non-local paddle impacts
2 Years Ago
Send a hint to the serving player if they fail to serve properly
2 Years Ago
Fix realm for returning the ball on a failed serve
2 Years Ago
Re-enable giving serving ball in game loop
2 Years Ago
Remove GetPaddleSound
2 Years Ago
Calculate drag properly, remember that we use kg/in³ and in/s² - fuck knows how what I was doing before worked in the slightest, this feels much better Bounce a bit higher Only use this paddle sound, it's cooler
2 Years Ago
Do anchor later
2 Years Ago
Default Paddle Angle to 0 Client prefs will update paddle angle successfully
2 Years Ago
Fixed error on load with hand materials, fixed up hold position on right-handed serve
2 Years Ago
Remove UnitAttribute, renamed Flip Hands to Left-Handed, add MinMax and Step to PaddleAngle
2 Years Ago
Cleaned up hand switching, add save button to prefs
2 Years Ago
Remove hacky velocity code, set up ball velocity and angular velocity from hands
2 Years Ago
Support hand switching for the paddle
2 Years Ago
Send client prefs update when a value changes
2 Years Ago
Add ray helper for client preferences window, minor fixes.
2 Years Ago
Whoops, left that out
2 Years Ago
Implement IHoldable, VrPlayerHand, very much a WIP Simplify InGrip, InTrigger - simulate input to drop held entity if we can. Delete FocusWorldPanel, it's unused Set up client preferences system Clients save the data as a cookie. When the game starts up the client informs the server of their preferences. Ideally this'll be good for flipping the paddle hand, changing the paddle angle and adjusting the VR anchor. Work on ClientPreferencesWidget Set up WorldInput ray Gut out the ServeHand so stuff still compiles Set up PaddleHand, ServeHand to use VrPlayerHand Fixed up paddle ownership Kill off IHoldable, removed more useless code Fixed serve hand anim Toggle ClientPreferences widget with joystick press Hand rewrite, client prefs
2 Years Ago
Keep cleaning / refactoring, keep game logic seperated from everything else, isolate RPCs for future lag comp
2 Years Ago
Tidy up, remove any concept of serverside balls, isolate all physics logic to its own class
2 Years Ago
More sync fixes, got a better idea though Adjust networking even more, this is very playable now, but I think I can still do better Don't bounce on carpet, scale bounce sound w/ velocity
2 Years Ago
Client decides when it wants to take control, various other desync fixes Haptic feedback when hitting ball
2 Years Ago
Make the ball completely clientside with a backing server entity for sync, make all of serving clientside too
2 Years Ago
Add tt_togglespectator cmd