clockwork-city/prefabs/lobby/create_session.tscn

62 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene format=3 uid="uid://b7rfnt0d4qoew"]
[ext_resource type="Script" uid="uid://cee85aokdb5ts" path="res://prefabs/lobby/create_session.gd" id="1_58eib"]
[sub_resource type="LabelSettings" id="LabelSettings_tftiq"]
font_size = 32
[node name="CreateSessionContainer" type="VBoxContainer" unique_id=1876286176]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 20
alignment = 1
script = ExtResource("1_58eib")
[node name="Label" type="Label" parent="." unique_id=893154611]
layout_mode = 2
text = "Create Session"
label_settings = SubResource("LabelSettings_tftiq")
horizontal_alignment = 1
[node name="Name" type="HBoxContainer" parent="." unique_id=970924151]
layout_mode = 2
theme_override_constants/separation = 20
alignment = 1
[node name="Label" type="Label" parent="Name" unique_id=895121392]
layout_mode = 2
text = "Player Name"
[node name="NameLineEdit" type="LineEdit" parent="Name" unique_id=1835313745]
unique_name_in_owner = true
custom_minimum_size = Vector2(250, 0)
layout_mode = 2
[node name="Color" type="HBoxContainer" parent="." unique_id=269490401]
layout_mode = 2
theme_override_constants/separation = 20
alignment = 1
[node name="Label" type="Label" parent="Color" unique_id=1241092588]
layout_mode = 2
text = "Player Color"
[node name="PlayerColor" type="ColorPickerButton" parent="Color" unique_id=1931635282]
unique_name_in_owner = true
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
[node name="CreateSession" type="Button" parent="." unique_id=1053608712]
unique_name_in_owner = true
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
size_flags_horizontal = 4
disabled = true
text = "Create Session"
[connection signal="text_changed" from="Name/NameLineEdit" to="." method="_on_name_line_edit_text_changed"]
[connection signal="pressed" from="CreateSession" to="." method="_on_create_session_pressed"]