summaryrefslogtreecommitdiff
path: root/Game/Player.tscn
blob: 38e1d488d080abc986bede620f739e75c48fd93e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[gd_scene load_steps=3 format=3 uid="uid://fvspuiqj0osm"]

[ext_resource type="Script" path="res://Game/Player.gd" id="1_37njm"]

[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_6h1lm"]
properties/0/path = NodePath(".:score")
properties/0/spawn = true
properties/0/replication_mode = 2
properties/1/path = NodePath(".:username")
properties/1/spawn = true
properties/1/replication_mode = 2
properties/2/path = NodePath(".:id")
properties/2/spawn = true
properties/2/replication_mode = 0

[node name="Player" type="Node"]
script = ExtResource("1_37njm")

[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_6h1lm")

[connection signal="score_changed" from="." to="." method="_on_score_changed"]
[connection signal="delta_synchronized" from="MultiplayerSynchronizer" to="." method="_on_multiplayer_synchronizer_delta_synchronized"]
[connection signal="synchronized" from="MultiplayerSynchronizer" to="." method="_on_multiplayer_synchronizer_synchronized"]