push project up sabs assets

This commit is contained in:
2026-08-07 02:50:54 -05:00
parent 71b666c683
commit f5d6c640ae
131 changed files with 4604 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
class_name BallsMultiplayer extends BallsBase
func setup_multiplayer() -> void:
if not Globals.multiplayer_data.is_multiplayer_active: return
for ball in bodies.get_children():
ball.set_multiplayer_authority(1)
Globals.multiplayer_data.set_tracking_of_ball(ball.get_path())
if multiplayer.is_server(): return
set_deferred("freeze", true)
set_physics_process(false)
for ball in bodies.get_children():
ball.set_deferred("freeze", true)
ball.set_physics_process(false)