hotel-madness/scenes/ui/create_room.tscn
2024-12-12 15:23:16 +01:00

64 lines
1.7 KiB
Text

[gd_scene load_steps=2 format=3 uid="uid://b2te55um4ya0l"]
[ext_resource type="Script" path="res://scripts/ui/create_room.gd" id="1_2jvdo"]
[node name="CreateRoom" 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_2jvdo")
[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 = -87.5
offset_top = -71.0
offset_right = 87.5
offset_bottom = 71.0
grow_horizontal = 2
grow_vertical = 2
[node name="UsernameHBox" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 8
[node name="Label" type="Label" parent="VBoxContainer/UsernameHBox"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 30
text = "Username:"
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/UsernameHBox"]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2
[node name="RoomnameHBox" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 8
[node name="Label" type="Label" parent="VBoxContainer/RoomnameHBox"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 30
text = "Roomname:"
[node name="LineEdit" type="LineEdit" parent="VBoxContainer/RoomnameHBox"]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2
[node name="SendButton" type="Button" parent="VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_font_sizes/font_size = 30
text = "Join Game"
[node name="Timer" type="Timer" parent="."]
wait_time = 10.0