branchsbox-hackweek-Socceteo/maincancel
34 Commits over 0 Days - ∞cph!
Fix for pointer events update
Reset ALL pieces if there's a bad kickoff so people don't knock all your pieces away before the game starts
Fixed ball effect not working on first kickoff
Restart happens after a few seconds, whistle goes after goal
Whistle sounds for both teams, goal volume is no longer returned in trace
Updated ball mesh
Fixed bug where red player couldn't kick off
Timer counts down properly
UI for ending game, game flow
Round time is 3mins
Stop players from playing when game is over
added console command to start game, for testing
add particles to precache, code cleanup
more console commands
Added sound listener and set up sounds for ball
sound listener lerps a bit between world origin, camera pos and the ball so sounds are directional a bit
ball is a bit bouncier in Z axis, gravity slightly reduced. Fixed pieces having velocity after respawn
Fixed pieces spawning with cooldown already
fixed cooldown being reset by ball
Improved player timer effect
fixing a few bugs with power line effect on opponents
pieces array is now IList so it's networked
debug overlay on opponent's selected piece
display opponents aim line (finally!)
networked score
scoreboard UI hooked up, names + score working now
game cleanup
a bit of cleanup, some network tests
properly set canSelect
can only select pieces when 2 players are connected
very rough implementation of only allowing the kicker to kickoff
always give kickoff to team0
Merge branch 'main' of sbox-hackweek-Socceteo
removed old spawnteam function
Added Power line effect and selected piece effect
UI elements for score and timer
Cleanup, Unique team positions depending on who has kickoff
proper positions spawning, kickoff position assumed by team that didn't score
Cleaned up UVs on barrier
removed player tag temporarily
ball gets boosted a little by the pieces too
Goal scoring, pitch updates
Basic team setup, improved cooldown model
fixed some bad names, added goal entity, added goal to basicpitch and edited the clipping walls a bit
Scale velocity when ball hits a wall. Goal trigger is behind the goal now
Team info defined in piece constructor. Added team colours, made base edge chunkier. Some cleanup
added quick cooldown mesh and materials
Rough cooldown implementation and cooldown timer setup
Clamp flick velocity
some cleanup, respawn ball with right click for now
Merge branch 'main' of sbox-hackweek-Socceteo
pulled camera back a little to see whole pitch
moved flick logic to the pieces, made flicking networked (maybe?)
got cursor working and basic traces working
rudimentary flicking
disable team colours for now
quick surface setup for player
material updates, collider updates
quick colour setup, set proper camera transforms
setup game as static class