small racing game im working on
Diffstat (limited to 'ui/multi-config.tscn')
| -rw-r--r-- | ui/multi-config.tscn | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/ui/multi-config.tscn b/ui/multi-config.tscn new file mode 100644 index 0000000..22cfef0 --- /dev/null +++ b/ui/multi-config.tscn @@ -0,0 +1,72 @@ +[gd_scene load_steps=10 format=3 uid="uid://d03uhiyeokikb"] + +[ext_resource type="Theme" uid="uid://d3ywcokn5ddy8" path="res://ui/theme.tres" id="1_56clv"] +[ext_resource type="Script" path="res://ui/multi-config.gd" id="2_8js23"] +[ext_resource type="StyleBox" uid="uid://dxtsrhgnyr80k" path="res://ui/panel_dark.stylebox" id="3_4tg67"] +[ext_resource type="Theme" uid="uid://chcid6jp4t311" path="res://ui/editor/input_theme.tres" id="4_lbhqr"] +[ext_resource type="Script" path="res://ui/mc-ls.gd" id="5_prcb8"] +[ext_resource type="SystemFont" uid="uid://d2klp6vxh5l2d" path="res://ui/cascadiabold.tres" id="6_uh81n"] +[ext_resource type="Texture2D" uid="uid://dfg7tsx87sepq" path="res://ui/assets/pad.png" id="7_7sqgd"] +[ext_resource type="Texture2D" uid="uid://cib2nibjvkt7a" path="res://ui/assets/kbd.png" id="8_ll0r8"] + +[sub_resource type="LabelSettings" id="LabelSettings_1rva1"] +font = ExtResource("6_uh81n") +font_size = 25 +font_color = Color(0.870588, 0.831373, 0.698039, 1) +outline_size = 15 +outline_color = Color(0, 0, 0, 1) + +[node name="Window" type="Window"] +position = Vector2i(0, 36) +size = Vector2i(500, 200) +wrap_controls = true +min_size = Vector2i(500, 200) +theme = ExtResource("1_56clv") +script = ExtResource("2_8js23") + +[node name="Panel" type="Panel" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_styles/panel = ExtResource("3_4tg67") + +[node name="VBoxContainer" type="VBoxContainer" parent="Panel"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Control" type="Control" parent="Panel/VBoxContainer"] +layout_mode = 2 + +[node name="HBoxContainer" type="HBoxContainer" parent="Panel/VBoxContainer"] +layout_mode = 2 + +[node name="how" type="Label" parent="Panel/VBoxContainer/HBoxContainer"] +layout_mode = 2 +theme = ExtResource("4_lbhqr") +text = " press any button to join" + +[node name="Control" type="Control" parent="Panel/VBoxContainer/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 3 + +[node name="done" type="Button" parent="Panel/VBoxContainer/HBoxContainer"] +layout_mode = 2 +text = "finish" + +[node name="Control2" type="Control" parent="Panel/VBoxContainer/HBoxContainer"] +layout_mode = 2 + +[node name="ls" type="VBoxContainer" parent="Panel/VBoxContainer"] +layout_mode = 2 +script = ExtResource("5_prcb8") +ls = SubResource("LabelSettings_1rva1") +pad = ExtResource("7_7sqgd") +kbd = ExtResource("8_ll0r8") + +[connection signal="pressed" from="Panel/VBoxContainer/HBoxContainer/done" to="." method="_on_done_pressed"] |