Dwenny/Scenes/main.tscn

268 lines
8.3 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=3 format=3 uid="uid://bqfs1qd83w4sh"]
2024-01-17 23:40:36 +01:00
[ext_resource type="Script" path="res://Scripts/Main.gd" id="1_fwdg7"]
[ext_resource type="FontFile" uid="uid://ctfankgpf8gap" path="res://segoeuisymbol.tres" id="3_chv3g"]
2024-01-17 23:40:36 +01:00
[node name="Main" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("1_fwdg7")
[node name="MainMC" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="BG" type="ColorRect" parent="MainMC"]
layout_mode = 2
color = Color(0.0859693, 0.0859693, 0.133364, 1)
[node name="VBoxContainer" type="VBoxContainer" parent="MainMC"]
layout_mode = 2
[node name="Die" type="MarginContainer" parent="MainMC/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 10.0
[node name="DiceCR" type="ColorRect" parent="MainMC/VBoxContainer/Die"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 12.0
color = Color(0.0862745, 0.0862745, 0.133333, 1)
[node name="DieLB" type="Label" parent="MainMC/VBoxContainer/Die/DiceCR"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 200
text = "crickets"
horizontal_alignment = 1
vertical_alignment = 1
[node name="EnumMC" type="MarginContainer" parent="MainMC/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 7.0
[node name="EnumBGL" type="ColorRect" parent="MainMC/VBoxContainer/EnumMC"]
layout_mode = 2
size_flags_horizontal = 3
color = Color(0.0862745, 0.0862745, 0.133333, 1)
[node name="EnumHB" type="HBoxContainer" parent="MainMC/VBoxContainer/EnumMC"]
layout_mode = 2
size_flags_stretch_ratio = 3.0
[node name="LM" type="ColorRect" parent="MainMC/VBoxContainer/EnumMC/EnumHB"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.05
color = Color(0.0859693, 0.0859693, 0.133364, 1)
[node name="VBoxContainer" type="VBoxContainer" parent="MainMC/VBoxContainer/EnumMC/EnumHB"]
layout_mode = 2
size_flags_horizontal = 3
[node name="MPUP" type="ColorRect" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
color = Color(0.0703441, 0.0703441, 0.0703441, 1)
[node name="UPMultiplierRect" type="Label" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer/MPUP"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
theme_override_fonts/font = ExtResource("3_chv3g")
2024-01-17 23:40:36 +01:00
theme_override_font_sizes/font_size = 150
text = "⮝"
2024-01-17 23:40:36 +01:00
horizontal_alignment = 1
vertical_alignment = 1
[node name="MPLB" type="ColorRect" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
color = Color(0.0470588, 0.0470588, 0.0823529, 1)
[node name="MultiplierLB" type="Label" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer/MPLB"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 150
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="MPDW" type="ColorRect" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
color = Color(0.0703441, 0.0703441, 0.0703441, 1)
[node name="DWMultiplierRect" type="Label" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer/MPDW"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/outline_size = 0
theme_override_fonts/font = ExtResource("3_chv3g")
2024-01-17 23:40:36 +01:00
theme_override_font_sizes/font_size = 150
text = "⮟"
2024-01-17 23:40:36 +01:00
horizontal_alignment = 1
vertical_alignment = 1
[node name="VBoxContainer2" type="VBoxContainer" parent="MainMC/VBoxContainer/EnumMC/EnumHB"]
layout_mode = 2
size_flags_horizontal = 3
[node name="UPDT" type="ColorRect" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer2"]
layout_mode = 2
size_flags_vertical = 3
color = Color(0.0703441, 0.0703441, 0.0703441, 1)
[node name="UPDieTypeRect" type="Label" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer2/UPDT"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("3_chv3g")
2024-01-17 23:40:36 +01:00
theme_override_font_sizes/font_size = 150
text = "⮝"
2024-01-17 23:40:36 +01:00
horizontal_alignment = 1
vertical_alignment = 1
[node name="DTTP" type="ColorRect" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer2"]
layout_mode = 2
size_flags_vertical = 3
color = Color(0.0470588, 0.0470588, 0.0823529, 1)
[node name="DieTypeLB" type="Label" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer2/DTTP"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 150
text = "20"
horizontal_alignment = 1
vertical_alignment = 1
[node name="DWDT" type="ColorRect" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer2"]
layout_mode = 2
size_flags_vertical = 3
color = Color(0.0703441, 0.0703441, 0.0703441, 1)
[node name="DWDieTypeRect" type="Label" parent="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer2/DWDT"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("3_chv3g")
2024-01-17 23:40:36 +01:00
theme_override_font_sizes/font_size = 150
text = "⮟"
2024-01-17 23:40:36 +01:00
horizontal_alignment = 1
vertical_alignment = 1
[node name="RM" type="ColorRect" parent="MainMC/VBoxContainer/EnumMC/EnumHB"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.05
color = Color(0.0859693, 0.0859693, 0.133364, 1)
[node name="Roll" type="MarginContainer" parent="MainMC/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 4.0
[node name="EnumBGL" type="ColorRect" parent="MainMC/VBoxContainer/Roll"]
layout_mode = 2
size_flags_horizontal = 3
color = Color(0.0862745, 0.0862745, 0.133333, 1)
[node name="EnumHB" type="HBoxContainer" parent="MainMC/VBoxContainer/Roll"]
layout_mode = 2
size_flags_stretch_ratio = 3.0
[node name="LM" type="ColorRect" parent="MainMC/VBoxContainer/Roll/EnumHB"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.05
color = Color(0.0859693, 0.0859693, 0.133364, 1)
[node name="RollRect" type="ColorRect" parent="MainMC/VBoxContainer/Roll/EnumHB"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.0
color = Color(0.0470588, 0.0470588, 0.0823529, 1)
[node name="Label" type="Label" parent="MainMC/VBoxContainer/Roll/EnumHB/RollRect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 150
text = "Roll!"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RM" type="ColorRect" parent="MainMC/VBoxContainer/Roll/EnumHB"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.05
color = Color(0.0859693, 0.0859693, 0.133364, 1)
[node name="TopCR" type="ColorRect" parent="MainMC/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 1.2
color = Color(0.0859693, 0.0859693, 0.133364, 1)
[node name="DwennyLabel" type="Label" parent="MainMC/VBoxContainer/TopCR"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0.415686, 0.415686, 0.552941, 1)
theme_override_font_sizes/font_size = 32
text = "Dwenny by LibreBun Touch 2024"
2024-01-17 23:40:36 +01:00
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="gui_input" from="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer/MPUP" to="." method="_on_mpup_gui_input"]
[connection signal="gui_input" from="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer/MPDW" to="." method="_on_mpdw_gui_input"]
[connection signal="gui_input" from="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer2/UPDT" to="." method="_on_updt_gui_input"]
[connection signal="gui_input" from="MainMC/VBoxContainer/EnumMC/EnumHB/VBoxContainer2/DWDT" to="." method="_on_dwdt_gui_input"]
[connection signal="gui_input" from="MainMC/VBoxContainer/Roll/EnumHB/RollRect" to="." method="_on_roll_rect_gui_input"]