108 lines
3.8 KiB
Plaintext
Raw Normal View History

2024-01-28 21:08:08 +00:00
[gd_scene load_steps=11 format=3 uid="uid://dagn5bf7ou3sd"]
2024-01-25 11:10:29 +00:00
[ext_resource type="PackedScene" uid="uid://cch67vqpsmtej" path="res://ui/debug/DebugLabel.tscn" id="1_7s8uu"]
[ext_resource type="Script" path="res://ui/UI.gd" id="1_l5b6o"]
[ext_resource type="Script" path="res://ui/debug/FPSLabel.gd" id="2_i200p"]
[ext_resource type="Script" path="res://ui/debug/PingLabel.gd" id="3_xjdws"]
[ext_resource type="Script" path="res://ui/debug/PositionLabel.gd" id="4_beqf6"]
[ext_resource type="Script" path="res://ui/debug/VelocityLabel.gd" id="5_8lm6a"]
2024-01-28 23:55:49 +00:00
[ext_resource type="Script" path="res://ui/chat/ChatBox.gd" id="5_43juw"]
[ext_resource type="Script" path="res://ui/chat/ChatInput.gd" id="6_cg2h5"]
2024-01-26 18:00:59 +00:00
[ext_resource type="Script" path="res://ui/debug/UploadLabel.gd" id="7_cfnpx"]
[ext_resource type="Script" path="res://ui/debug/DownloadLabel.gd" id="8_ogt38"]
2024-01-25 11:10:29 +00:00
[node name="UI" type="Control"]
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_l5b6o")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
2024-01-26 21:02:25 +00:00
[node name="TopLeft" type="MarginContainer" parent="CanvasLayer"]
2024-01-25 11:10:29 +00:00
offset_right = 40.0
offset_bottom = 50.0
2024-01-26 21:02:25 +00:00
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/TopLeft"]
2024-01-25 11:10:29 +00:00
layout_mode = 2
2024-01-26 21:02:25 +00:00
[node name="FPS" parent="CanvasLayer/TopLeft/VBoxContainer" instance=ExtResource("1_7s8uu")]
2024-01-25 11:10:29 +00:00
layout_mode = 2
script = ExtResource("2_i200p")
2024-01-26 21:02:25 +00:00
[node name="Ping" parent="CanvasLayer/TopLeft/VBoxContainer" instance=ExtResource("1_7s8uu")]
2024-01-25 11:10:29 +00:00
layout_mode = 2
script = ExtResource("3_xjdws")
2024-01-26 21:02:25 +00:00
[node name="BottomLeft" type="MarginContainer" parent="CanvasLayer"]
2024-01-25 11:10:29 +00:00
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
2024-01-28 21:08:08 +00:00
offset_top = -134.0
offset_right = 263.0
2024-01-25 11:10:29 +00:00
grow_vertical = 0
2024-01-28 23:55:49 +00:00
[node name="Chat" type="VBoxContainer" parent="CanvasLayer/BottomLeft"]
2024-01-25 11:10:29 +00:00
layout_mode = 2
2024-01-26 21:02:25 +00:00
alignment = 2
2024-01-25 11:10:29 +00:00
2024-01-28 23:55:49 +00:00
[node name="ChatBox" type="RichTextLabel" parent="CanvasLayer/BottomLeft/Chat"]
2024-01-25 11:10:29 +00:00
layout_mode = 2
2024-01-28 21:08:08 +00:00
size_flags_vertical = 3
bbcode_enabled = true
scroll_following = true
2024-01-28 23:55:49 +00:00
script = ExtResource("5_43juw")
2024-01-25 11:10:29 +00:00
2024-01-28 23:55:49 +00:00
[node name="ChatInput" type="LineEdit" parent="CanvasLayer/BottomLeft/Chat"]
2024-01-25 11:10:29 +00:00
layout_mode = 2
2024-01-28 23:55:49 +00:00
script = ExtResource("6_cg2h5")
2024-01-26 21:02:25 +00:00
[node name="BottomRight" type="MarginContainer" parent="CanvasLayer"]
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
2024-01-28 21:08:08 +00:00
offset_left = -76.0
offset_top = -54.0
2024-01-26 21:02:25 +00:00
grow_horizontal = 0
grow_vertical = 0
2024-01-26 18:00:59 +00:00
2024-01-26 21:02:25 +00:00
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/BottomRight"]
2024-01-26 18:00:59 +00:00
layout_mode = 2
2024-01-26 21:02:25 +00:00
alignment = 2
2024-01-26 18:00:59 +00:00
2024-01-28 21:08:08 +00:00
[node name="Send" parent="CanvasLayer/BottomRight/VBoxContainer" instance=ExtResource("1_7s8uu")]
layout_mode = 2
alignment = 2
script = ExtResource("7_cfnpx")
[node name="Receive" parent="CanvasLayer/BottomRight/VBoxContainer" instance=ExtResource("1_7s8uu")]
layout_mode = 2
alignment = 2
script = ExtResource("8_ogt38")
[node name="TopRight" type="MarginContainer" parent="CanvasLayer"]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -79.0
offset_bottom = 102.0
grow_horizontal = 0
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/TopRight"]
layout_mode = 2
[node name="Position" parent="CanvasLayer/TopRight/VBoxContainer" instance=ExtResource("1_7s8uu")]
2024-01-26 18:00:59 +00:00
layout_mode = 2
2024-01-26 21:02:25 +00:00
alignment = 2
script = ExtResource("4_beqf6")
2024-01-28 21:08:08 +00:00
[node name="Velocity" parent="CanvasLayer/TopRight/VBoxContainer" instance=ExtResource("1_7s8uu")]
2024-01-26 21:02:25 +00:00
layout_mode = 2
alignment = 2
script = ExtResource("5_8lm6a")
2024-01-28 21:08:08 +00:00
2024-01-28 23:55:49 +00:00
[connection signal="focus_entered" from="CanvasLayer/BottomLeft/Chat/ChatInput" to="CanvasLayer/BottomLeft/Chat/ChatInput" method="_on_focus_entered"]
[connection signal="focus_exited" from="CanvasLayer/BottomLeft/Chat/ChatInput" to="CanvasLayer/BottomLeft/Chat/ChatInput" method="_on_focus_exited"]
[connection signal="text_submitted" from="CanvasLayer/BottomLeft/Chat/ChatInput" to="CanvasLayer/BottomLeft/Chat/ChatInput" method="_on_text_submitted"]