4,599 Commits over 976 Days - 0.20cph!
Teach the player about serving if they can't serve properly
Bunch of work on game state and game init
Split out game debugging stuff, added more debug options
Hooked up paddle hits, work on deciding who wins a round
Add blue hand material override
Can hold the ball, and throw it
Serve the data properly instead of speculating
Add preset animations for non-knuckles users
Network finger data so you can flip off your opponent
Set GrabMode correctly, hands are now animated
Parse finger data, push it to anim parameters
Re-save out the paddle sound
Kill paddle serverside, stops error on game destroy
Fixed up UI anchor position
Add Game.OnBallBounce, track ball bounce count for game loop
Add serving hand for testing
Cleanup, network GameState. Document shit a bit more.
Define game states
Clear team score on Team.Reset
Moved game loop code into specific partial class, introduce OutOfBoundsZ
Don't render the head model if our camera viewer matches the client
Debug code will chuck the ball to the paddle
Scores bound to data, move score & hint widget based on team UI anchor.
Set PlayerColor for VR Heads, added Client.GetTeam, need to rewrite this later.
https://files.facepunch.com/devultj/1b0511b1/sbox_zF9YzS45sU.png
Added Team, assign teams on join. Can spawn ball outside of VR mode.
Merge branch 'master' of sbox-tabletennis-vr
Give players the VR Head, and attach it to their HMD when possible.
Hook up hints to client join/leave
Can specify an icon instead of avatar for hint messages
Add statically mounted hint notifications widget
Use a statically mounted world panel for scores
Add ScenePanel.DisablePostProcessing
Add DisableOnGamepad to InputHint, don't display input hints for inventory icons on gamepad.
Add InputButton.SlotPrev/SlotNext support (gamepad)
Add Input Glyphs to inventory items
Fixed visual bug when switching to an invalid weapon
Add some comments to explain wtf I'm doing here
Rewritten weapon selection code
Can click a player on the scoreboard as a spectator to target them
Add Camera Speed multiplier for run/duck, default to free mode if no spectator target. Also removed input.Clear() from free camera, wasn't necessary.
Force update camera rotation when switching target / freecam
Can toggle spectator widget on/off with Slot1 while spectating
Fixed your current spectator target being invisible while in freemode
Input hint style modifications
Group previous & next input hints on the same line
Add InputHint widget from Spire
Add input hints for spectator controls
Add BoomerSpectatorCamera, can switch targets with Left, Right
Add free camera, use Jump to toggle, Menu & Use to switch targets now.
Refactored BoomerCamera, moved all of it into spectator cam, fixed up VMs for freecam
Merge branch 'main' of sbox-boomer
Add chatbox messages for when players join/leave spectator
Apply TimeSinceLastDamage for purely armour damage
Add armour damage numbers