48 lines
953 B
Plaintext
48 lines
953 B
Plaintext
|
|
:: game_state_signals.gd ::
|
||
|
|
|
||
|
|
Has (
|
||
|
|
and needs to align with billiards.tscn path structure from root
|
||
|
|
I.E /root/<billiards sceen root node name>
|
||
|
|
):
|
||
|
|
set_game_scene > get_tree().root.get_node("billiards/scene")
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
:: balls.gd ::
|
||
|
|
|
||
|
|
Note: We freeze physics and process if cient is in muiltiplayer mode
|
||
|
|
|
||
|
|
Method: setup_multiplayer > GlobalSignals.multiplayer_signals.set_tracking_of_ball
|
||
|
|
|
||
|
|
_physics_process > GlobalSignals.game_state_signals.balls_stopped_moving
|
||
|
|
|
||
|
|
|
||
|
|
:: cue.gd ::
|
||
|
|
|
||
|
|
Note: We freeze collision detection on cue_tip if cient is in muiltiplayer mode
|
||
|
|
|
||
|
|
Method: setup_multiplayer > GlobalSignals.multiplayer_signals.set_tracking_of_cue
|
||
|
|
|
||
|
|
_input > rpc_input (with call_remote)
|
||
|
|
_process > rpc_process (with call_remote)
|
||
|
|
|
||
|
|
|
||
|
|
:: multiplayer_signals.gd ::
|
||
|
|
|
||
|
|
Has (
|
||
|
|
and needs to align with billiards.tscn path structure from root
|
||
|
|
I.E /root/<billiards sceen root node name>
|
||
|
|
):
|
||
|
|
multiplayer_synchronizer.root_path = "/root/billiards"
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|