70 lines
1.9 KiB
Plaintext
70 lines
1.9 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://c8q7y6x5z4w3"]
|
|
|
|
[ext_resource type="Script" path="res://Main.gd" id="1_m4i3n"]
|
|
|
|
[node name="Main" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_m4i3n")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="HeaderLabel" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Echoes of the Ashes - Godot PoC"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="TokenInput" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
placeholder_text = "Enter Auth Token"
|
|
|
|
[node name="ConnectButton" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Connect via WebSocket"
|
|
|
|
[node name="ConnectionStatusLabel" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Status: Disconnected"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="LocationNameLabel" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
horizontal_alignment = 1
|
|
|
|
[node name="LocationImage" type="TextureRect" parent="VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 300)
|
|
layout_mode = 2
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="LocationDescriptionLabel" type="RichTextLabel" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
fit_content = true
|
|
|
|
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="LogLabel" type="RichTextLabel" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
text = "Logs will appear here...
|
|
"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/ConnectButton" to="." method="_on_connect_button_pressed"]
|