Added player identification

This commit is contained in:
2024-01-26 12:50:46 +01:00
parent 0172a81bdf
commit 2cd93f2a39
12 changed files with 153 additions and 73 deletions

View File

@ -4,8 +4,8 @@
[ext_resource type="Script" path="res://network/Client.gd" id="2_1ofik"]
[ext_resource type="Script" path="res://network/Ping.gd" id="3_4h5la"]
[ext_resource type="Script" path="res://network/Login.gd" id="4_k8n1i"]
[ext_resource type="Script" path="res://network/PlayerAdd.gd" id="5_1dcs7"]
[ext_resource type="PackedScene" uid="uid://2lcnu3dy54lx" path="res://player/Player.tscn" id="5_22pku"]
[ext_resource type="Script" path="res://network/PlayerState.gd" id="5_wttxq"]
[ext_resource type="Environment" uid="uid://dixa0yso2s1u3" path="res://world/Environment.tres" id="8_5uta8"]
[ext_resource type="CameraAttributesPractical" uid="uid://b835orxyqq6w5" path="res://camera/CameraAttributes.tres" id="9_w4cdu"]
[ext_resource type="PackedScene" uid="uid://tgmbtt7u172g" path="res://world/Arena.blend" id="10_cje7b"]
@ -46,8 +46,8 @@ packet_type = 2
wait_time = 5.0
autostart = true
[node name="PlayerState" type="Node" parent="Client"]
script = ExtResource("5_wttxq")
[node name="PlayerAdd" type="Node" parent="Client"]
script = ExtResource("5_1dcs7")
player_scene = ExtResource("5_22pku")
packet_type = 10