This repository has been archived on 2026-05-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
magician/screens/client.tscn
T
2025-06-28 15:19:04 +02:00

61 lines
1.7 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://cgffw8lmsypov"]
[ext_resource type="Script" uid="uid://bfaxxdr7v0emr" path="res://web_client.gd" id="1_eergy"]
[node name="Client" type="Control" node_paths=PackedStringArray("name_input", "session_code_input")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_eergy")
name_input = NodePath("VBoxContainer/NameInput")
session_code_input = NodePath("VBoxContainer/SessionCodeInput")
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 466.0
offset_top = 312.0
offset_right = 609.0
offset_bottom = 335.0
text = "I WILL CLIENT YOU"
[node name="BellLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 620.0
offset_top = 658.0
offset_right = 1285.0
offset_bottom = 736.0
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -250.0
offset_top = -80.0
offset_right = 250.0
offset_bottom = 80.0
grow_horizontal = 2
grow_vertical = 2
[node name="NameInput" type="LineEdit" parent="VBoxContainer"]
layout_mode = 2
[node name="CreateSessionButton" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Create"
[node name="SessionCodeInput" type="LineEdit" parent="VBoxContainer"]
layout_mode = 2
[node name="ConnectButton" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Connect"
[connection signal="pressed" from="VBoxContainer/CreateSessionButton" to="." method="_on_create_session_button_pressed"]
[connection signal="pressed" from="VBoxContainer/ConnectButton" to="." method="_on_connect_button_pressed"]