Bugfixes + Menu.
This commit is contained in:
parent
1ee6f6cc6d
commit
26ee79c57d
6 changed files with 94 additions and 21 deletions
64
scenes/ui/create_room.tscn
Normal file
64
scenes/ui/create_room.tscn
Normal file
|
@ -0,0 +1,64 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue