Dwenny/Scenes/main.tscn
Zoey 119a42f331 Final
Added nat 20 and crit misses.
Removed Segoe unicode, added an svg instead.
Added margin borders.
2024-01-19 21:09:49 +01:00

290 lines
9 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bqfs1qd83w4sh"]
[ext_resource type="Script" path="res://Scripts/Main.gd" id="1_fwdg7"]
[ext_resource type="Texture2D" uid="uid://dasghro404eac" path="res://arrowplain.svg" id="2_ojvli"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_dgaib"]
load_path = "res://.godot/imported/arrowplain.svg-98c9aea580f2aed60d85c7874b0d5f14.ctex"
[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="TM" type="ColorRect" parent="MainMC/VBoxContainer"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
size_flags_vertical = 2
size_flags_stretch_ratio = 0.3
color = Color(0.0859693, 0.0859693, 0.133364, 1)
[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.0859693, 0.0859693, 0.133364, 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 = 500
text = "32"
horizontal_alignment = 1
vertical_alignment = 1
[node name="LM" type="ColorRect" parent="MainMC/VBoxContainer/Die"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
size_flags_horizontal = 0
size_flags_stretch_ratio = 3.0
color = Color(0.0859693, 0.0859693, 0.133364, 1)
[node name="RM" type="ColorRect" parent="MainMC/VBoxContainer/Die"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
size_flags_horizontal = 8
size_flags_stretch_ratio = 3.0
color = Color(0.0859693, 0.0859693, 0.133364, 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="TextureRect" 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
texture = ExtResource("2_ojvli")
expand_mode = 3
stretch_mode = 5
[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="UPMultiplierRect" type="TextureRect" 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
texture = SubResource("CompressedTexture2D_dgaib")
expand_mode = 3
stretch_mode = 5
flip_v = true
[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="UPMultiplierRect" type="TextureRect" 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
texture = ExtResource("2_ojvli")
expand_mode = 3
stretch_mode = 5
[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="UPMultiplierRect" type="TextureRect" 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
texture = SubResource("CompressedTexture2D_dgaib")
expand_mode = 3
stretch_mode = 5
flip_v = true
[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"
horizontal_alignment = 1
vertical_alignment = 1
[node name="LM" type="ColorRect" parent="MainMC/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.05
color = Color(0.0859693, 0.0859693, 0.133364, 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"]