127 lines
4.9 KiB
Plaintext
Raw Normal View History

2024-01-25 11:10:29 +00:00
[gd_scene load_steps=17 format=3 uid="uid://b40y7iuskv1ar"]
2024-01-23 23:09:50 +00:00
2024-01-24 19:57:31 +00:00
[ext_resource type="Script" path="res://Game.gd" id="1_pux6q"]
2024-01-23 23:09:50 +00:00
[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"]
2024-01-26 11:50:46 +00:00
[ext_resource type="Script" path="res://network/PlayerAdd.gd" id="5_1dcs7"]
2024-01-23 23:09:50 +00:00
[ext_resource type="PackedScene" uid="uid://2lcnu3dy54lx" path="res://player/Player.tscn" id="5_22pku"]
[ext_resource type="Environment" uid="uid://dixa0yso2s1u3" path="res://world/Environment.tres" id="8_5uta8"]
2024-01-24 19:57:31 +00:00
[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"]
2024-01-23 23:09:50 +00:00
[ext_resource type="Script" path="res://world/Sun.gd" id="10_mlmor"]
2024-01-24 19:57:31 +00:00
[ext_resource type="PackedScene" uid="uid://hnn0n1xc2qt7" path="res://world/Tree.blend" id="11_wlyv1"]
[ext_resource type="PackedScene" uid="uid://cb2t7bvvf3gwh" path="res://enemy/slime/Slime.tscn" id="12_6yrwn"]
2024-01-25 11:10:29 +00:00
[ext_resource type="PackedScene" uid="uid://dagn5bf7ou3sd" path="res://ui/UI.tscn" id="13_s76b0"]
2024-01-24 19:57:31 +00:00
[ext_resource type="Script" path="res://camera/Camera.gd" id="13_y4waa"]
2024-01-23 23:09:50 +00:00
[ext_resource type="Material" uid="uid://ddy5gkw0k16dq" path="res://shader/OutlineMaterial.tres" id="14_hobco"]
2024-01-16 22:01:16 +00:00
[sub_resource type="QuadMesh" id="QuadMesh_7yiqd"]
2024-01-23 23:09:50 +00:00
material = ExtResource("14_hobco")
2024-01-16 22:01:16 +00:00
flip_faces = true
size = Vector2(2, 2)
2024-01-15 16:08:26 +00:00
2024-01-23 23:09:50 +00:00
[node name="Main" type="Node"]
script = ExtResource("1_pux6q")
2024-01-15 16:08:26 +00:00
2024-01-20 21:18:58 +00:00
[node name="Client" type="Node" parent="."]
2024-01-16 22:01:16 +00:00
unique_name_in_owner = true
2024-01-23 23:09:50 +00:00
script = ExtResource("2_1ofik")
2024-01-25 11:10:29 +00:00
host = "127.0.0.1"
port = 4242
2024-01-15 16:08:26 +00:00
2024-01-20 21:18:58 +00:00
[node name="Ping" type="Node" parent="Client"]
2024-01-16 22:01:16 +00:00
unique_name_in_owner = true
2024-01-23 23:09:50 +00:00
script = ExtResource("3_4h5la")
2024-01-25 11:10:29 +00:00
packet_type = 1
2024-01-15 16:08:26 +00:00
2024-01-20 21:18:58 +00:00
[node name="Timer" type="Timer" parent="Client/Ping"]
2024-01-16 22:01:16 +00:00
autostart = true
2024-01-15 16:08:26 +00:00
2024-01-20 21:18:58 +00:00
[node name="Login" type="Node" parent="Client"]
2024-01-23 23:09:50 +00:00
script = ExtResource("4_k8n1i")
2024-01-25 11:10:29 +00:00
packet_type = 2
2024-01-16 22:01:16 +00:00
2024-01-20 21:18:58 +00:00
[node name="Timer" type="Timer" parent="Client/Login"]
2024-01-24 19:57:31 +00:00
wait_time = 5.0
2024-01-16 22:01:16 +00:00
autostart = true
2024-01-15 16:08:26 +00:00
2024-01-26 11:50:46 +00:00
[node name="PlayerAdd" type="Node" parent="Client"]
script = ExtResource("5_1dcs7")
2024-01-23 23:09:50 +00:00
player_scene = ExtResource("5_22pku")
2024-01-25 11:10:29 +00:00
packet_type = 10
2024-01-20 21:18:58 +00:00
2024-01-24 19:57:31 +00:00
[node name="World" type="Node3D" parent="."]
2024-01-20 21:18:58 +00:00
2024-01-23 23:09:50 +00:00
[node name="Sun" type="DirectionalLight3D" parent="World"]
transform = Transform3D(0.984808, 0.122788, -0.122788, 0, 0.707107, 0.707107, 0.173648, -0.696364, 0.696364, 0, 10, 0)
shadow_enabled = true
directional_shadow_mode = 0
script = ExtResource("10_mlmor")
2024-01-20 21:18:58 +00:00
2024-01-23 23:09:50 +00:00
[node name="Environment" type="WorldEnvironment" parent="World"]
environment = ExtResource("8_5uta8")
camera_attributes = ExtResource("9_w4cdu")
2024-01-20 21:18:58 +00:00
2024-01-24 19:57:31 +00:00
[node name="Arena" parent="World" instance=ExtResource("10_cje7b")]
[node name="Trees" type="Node3D" parent="World"]
[node name="Tree" parent="World/Trees" instance=ExtResource("11_wlyv1")]
2024-01-25 23:29:05 +00:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.11323, 0, -7.57074)
2024-01-24 19:57:31 +00:00
[node name="Tree2" parent="World/Trees" instance=ExtResource("11_wlyv1")]
2024-01-25 23:29:05 +00:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.11323, 0, 7.80548)
2024-01-24 19:57:31 +00:00
[node name="Enemies" type="Node3D" parent="World"]
[node name="Slime" parent="World/Enemies" instance=ExtResource("12_6yrwn")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.53558, 1.28057, -3.79687)
[node name="Slime2" parent="World/Enemies" instance=ExtResource("12_6yrwn")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.00829, 1.28057, -1.95247)
[node name="Slime3" parent="World/Enemies" instance=ExtResource("12_6yrwn")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.53558, 1.28057, -0.306177)
2024-01-25 11:10:29 +00:00
[node name="Players" type="Node3D" parent="World"]
unique_name_in_owner = true
2024-01-15 23:22:14 +00:00
2024-01-25 11:10:29 +00:00
[node name="UI" parent="." instance=ExtResource("13_s76b0")]
2024-01-15 16:08:26 +00:00
2024-01-20 21:18:58 +00:00
[node name="Viewport" type="SubViewportContainer" parent="."]
2024-01-15 16:08:26 +00:00
texture_filter = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
stretch = true
2024-01-20 21:18:58 +00:00
[node name="SubViewport" type="SubViewport" parent="Viewport"]
2024-01-15 16:08:26 +00:00
handle_input_locally = false
2024-01-25 11:12:58 +00:00
size = Vector2i(1152, 648)
2024-01-15 16:08:26 +00:00
render_target_update_mode = 4
2024-01-20 21:18:58 +00:00
[node name="CameraPivot" type="Node3D" parent="Viewport/SubViewport"]
2024-01-16 22:01:16 +00:00
2024-01-20 21:18:58 +00:00
[node name="Camera" type="Camera3D" parent="Viewport/SubViewport/CameraPivot" node_paths=PackedStringArray("center")]
2024-01-18 22:35:17 +00:00
transform = Transform3D(0.707107, 0.353554, -0.612372, 0, 0.866026, 0.5, 0.707107, -0.353554, 0.612372, -10, 10, 10)
2024-01-15 16:08:26 +00:00
projection = 1
current = true
fov = 90.0
2024-01-16 22:01:16 +00:00
size = 10.0
far = 100.0
2024-01-23 23:09:50 +00:00
script = ExtResource("13_y4waa")
2024-01-16 22:01:16 +00:00
center = NodePath("..")
follow_speed = 5.0
2024-01-15 16:08:26 +00:00
2024-01-20 21:18:58 +00:00
[node name="PostProcessing" type="MeshInstance3D" parent="Viewport/SubViewport/CameraPivot/Camera"]
2024-01-15 16:08:26 +00:00
unique_name_in_owner = true
2024-01-25 23:29:05 +00:00
visible = false
2024-01-15 16:08:26 +00:00
extra_cull_margin = 16384.0
mesh = SubResource("QuadMesh_7yiqd")
2024-01-20 21:18:58 +00:00
[connection signal="timeout" from="Client/Ping/Timer" to="Client/Ping" method="send_ping"]
[connection signal="timeout" from="Client/Login/Timer" to="Client/Login" method="send_login"]