[gd_scene load_steps=4 format=3 uid="uid://bowvqy1rx2ldx"] [ext_resource type="Script" path="res://GameScene.gd" id="1_kyoq5"] [ext_resource type="Script" path="res://ScrollContainer.gd" id="2_xxo3x"] [ext_resource type="Theme" uid="uid://dt11061t2etln" path="res://OptionButton.tres" id="3_hdjql"] [node name="Control" 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_kyoq5") [node name="ColorRect" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.113725, 0.133333, 0.160784, 1) [node name="ButtonEnd" type="Button" parent="."] layout_mode = 0 offset_left = 564.0 offset_top = 20.0 offset_right = 1064.0 offset_bottom = 186.0 theme_override_font_sizes/font_size = 100 text = "End Game" [node name="ScrollContainer" type="ScrollContainer" parent="."] layout_mode = 1 anchors_preset = -1 anchor_top = 0.107 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -1.44002 offset_right = 8.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("3_hdjql") follow_focus = true horizontal_scroll_mode = 0 script = ExtResource("2_xxo3x") [node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"] custom_minimum_size = Vector2(1080, 1714) layout_mode = 2 [node name="Panel" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 160) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Panel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 50 alignment = 1 [node name="ButtonLeft" type="Button" parent="ScrollContainer/VBoxContainer/Panel/HBoxContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 theme_override_font_sizes/font_size = 100 text = "<" [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Panel/HBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 110 text = "Player" [node name="ButtonRight" type="Button" parent="ScrollContainer/VBoxContainer/Panel/HBoxContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 theme_override_font_sizes/font_size = 100 text = ">" [node name="One" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/One"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 500 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/One/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "One" horizontal_alignment = 1 vertical_alignment = 1 [node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/One/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 clip_text = true item_count = 7 allow_reselect = true popup/item_0/text = "" popup/item_0/id = 0 popup/item_1/text = "-" popup/item_1/id = 1 popup/item_2/text = "1" popup/item_2/id = 2 popup/item_3/text = "2" popup/item_3/id = 3 popup/item_4/text = "3" popup/item_4/id = 4 popup/item_5/text = "4" popup/item_5/id = 5 popup/item_6/text = "5" popup/item_6/id = 6 [node name="Two" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Two"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 500 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Two/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Two" horizontal_alignment = 1 vertical_alignment = 1 [node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/Two/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 clip_text = true item_count = 7 allow_reselect = true popup/item_0/text = "" popup/item_0/id = 0 popup/item_1/text = "-" popup/item_1/id = 1 popup/item_2/text = "2" popup/item_2/id = 2 popup/item_3/text = "4" popup/item_3/id = 3 popup/item_4/text = "6" popup/item_4/id = 4 popup/item_5/text = "8" popup/item_5/id = 5 popup/item_6/text = "10" popup/item_6/id = 6 [node name="Three" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Three"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 500 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Three/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Three" horizontal_alignment = 1 vertical_alignment = 1 [node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/Three/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 clip_text = true item_count = 7 allow_reselect = true popup/item_0/text = "" popup/item_0/id = 0 popup/item_1/text = "-" popup/item_1/id = 1 popup/item_2/text = "3" popup/item_2/id = 2 popup/item_3/text = "6" popup/item_3/id = 3 popup/item_4/text = "9" popup/item_4/id = 4 popup/item_5/text = "12" popup/item_5/id = 5 popup/item_6/text = "15" popup/item_6/id = 6 [node name="Four" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Four"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 500 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Four/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Four" horizontal_alignment = 1 vertical_alignment = 1 [node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/Four/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 clip_text = true item_count = 7 allow_reselect = true popup/item_0/text = "" popup/item_0/id = 0 popup/item_1/text = "-" popup/item_1/id = 1 popup/item_2/text = "4" popup/item_2/id = 2 popup/item_3/text = "8" popup/item_3/id = 2 popup/item_4/text = "12" popup/item_4/id = 4 popup/item_5/text = "16" popup/item_5/id = 5 popup/item_6/text = "20" popup/item_6/id = 6 [node name="Five" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Five"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 500 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Five/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Five" horizontal_alignment = 1 vertical_alignment = 1 [node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/Five/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 clip_text = true item_count = 7 allow_reselect = true popup/item_0/text = "" popup/item_0/id = 0 popup/item_1/text = "-" popup/item_1/id = 1 popup/item_2/text = "5" popup/item_2/id = 2 popup/item_3/text = "10" popup/item_3/id = 3 popup/item_4/text = "15" popup/item_4/id = 4 popup/item_5/text = "20" popup/item_5/id = 5 popup/item_6/text = "25" popup/item_6/id = 6 [node name="Six" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Six"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 500 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Six/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Six " horizontal_alignment = 1 vertical_alignment = 1 [node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/Six/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 clip_text = true item_count = 7 allow_reselect = true popup/item_0/text = "" popup/item_0/id = 0 popup/item_1/text = "-" popup/item_1/id = 1 popup/item_2/text = "6" popup/item_2/id = 2 popup/item_3/text = "12" popup/item_3/id = 3 popup/item_4/text = "18" popup/item_4/id = 4 popup/item_5/text = "24" popup/item_5/id = 5 popup/item_6/text = "30" popup/item_6/id = 6 [node name="Bonus" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Bonus"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 250 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Bonus/HBoxContainer"] custom_minimum_size = Vector2(400, 150) layout_mode = 2 theme_override_font_sizes/font_size = 100 text = "Bonus:" horizontal_alignment = 1 vertical_alignment = 1 [node name="LabelScore" type="Label" parent="ScrollContainer/VBoxContainer/Bonus/HBoxContainer"] custom_minimum_size = Vector2(400, 150) layout_mode = 2 theme_override_font_sizes/font_size = 100 text = "-63" horizontal_alignment = 1 vertical_alignment = 1 [node name="Three_of_a_kind" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Three_of_a_kind"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 200 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Three_of_a_kind/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Three of a kind" horizontal_alignment = 1 vertical_alignment = 1 [node name="LineEdit" type="LineEdit" parent="ScrollContainer/VBoxContainer/Three_of_a_kind/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 virtual_keyboard_type = 2 [node name="Four_of_a_Kind" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Four_of_a_Kind"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 237 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Four_of_a_Kind/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Four of a kind" horizontal_alignment = 1 vertical_alignment = 1 [node name="LineEdit" type="LineEdit" parent="ScrollContainer/VBoxContainer/Four_of_a_Kind/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 virtual_keyboard_type = 2 [node name="Full_House" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Full_House"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 350 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Full_House/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Full House" horizontal_alignment = 1 vertical_alignment = 1 [node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/Full_House/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 clip_text = true allow_reselect = true [node name="Small_Straight" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Small_Straight"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 237 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Small_Straight/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Small Straight" horizontal_alignment = 1 vertical_alignment = 1 [node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/Small_Straight/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 clip_text = true allow_reselect = true [node name="Large_Straight" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Large_Straight"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 237 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Large_Straight/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Large Straight" horizontal_alignment = 1 vertical_alignment = 1 [node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/Large_Straight/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 clip_text = true allow_reselect = true [node name="yahtzee" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/yahtzee"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 100 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/yahtzee/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Yahtzee " horizontal_alignment = 1 vertical_alignment = 1 [node name="ButtonYahtzeeMinus" type="Button" parent="ScrollContainer/VBoxContainer/yahtzee/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme_override_font_sizes/font_size = 50 text = "-" clip_text = true [node name="ButtonYahtzee" type="Button" parent="ScrollContainer/VBoxContainer/yahtzee/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme_override_font_sizes/font_size = 50 text = "+" clip_text = true [node name="chance" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(1080, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/chance"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -1.0 offset_top = 1.0 offset_right = -1.0 offset_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 460 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/chance/HBoxContainer"] custom_minimum_size = Vector2(200, 150) layout_mode = 2 theme_override_font_sizes/font_size = 70 text = "Chance" horizontal_alignment = 1 vertical_alignment = 1 [node name="LineEdit" type="LineEdit" parent="ScrollContainer/VBoxContainer/chance/HBoxContainer"] custom_minimum_size = Vector2(250, 150) layout_mode = 2 theme = ExtResource("3_hdjql") theme_override_font_sizes/font_size = 50 alignment = 1 virtual_keyboard_type = 2 [node name="Score" type="Panel" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 150) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer/Score"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 250 alignment = 1 [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/Score/HBoxContainer"] custom_minimum_size = Vector2(400, 150) layout_mode = 2 theme_override_font_sizes/font_size = 100 text = "Score:" horizontal_alignment = 1 vertical_alignment = 1 [node name="LabelScore" type="Label" parent="ScrollContainer/VBoxContainer/Score/HBoxContainer"] custom_minimum_size = Vector2(400, 150) layout_mode = 2 theme_override_font_sizes/font_size = 100 text = "0" horizontal_alignment = 1 vertical_alignment = 1 [connection signal="pressed" from="ButtonEnd" to="." method="_on_button_end_pressed"] [connection signal="pressed" from="ScrollContainer/VBoxContainer/Panel/HBoxContainer/ButtonLeft" to="." method="_on_button_left_pressed"] [connection signal="pressed" from="ScrollContainer/VBoxContainer/Panel/HBoxContainer/ButtonRight" to="." method="_on_button_right_pressed"] [connection signal="pressed" from="ScrollContainer/VBoxContainer/yahtzee/HBoxContainer/ButtonYahtzeeMinus" to="." method="_on_button_yahtzee_minus_pressed"] [connection signal="pressed" from="ScrollContainer/VBoxContainer/yahtzee/HBoxContainer/ButtonYahtzee" to="." method="_on_button_yahtzee_pressed"]