[gd_scene load_steps=6 format=3 uid="uid://dcaquiy5tvss5"] [ext_resource type="Script" uid="uid://3qvb4d882mqd" path="res://scripts/game.gd" id="1_ibkli"] [ext_resource type="AudioStream" uid="uid://c8kq84p5btav8" path="res://audios/instrucciones.mp3" id="2_qbsmt"] [ext_resource type="Texture2D" uid="uid://bkwdw0l43i15v" path="res://images/menu_logo.png" id="3_cpr0p"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cpr0p"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cpr0p"] bg_color = Color(0.196078, 0.309804, 0.368627, 1) [node name="Node2D" 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_ibkli") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = ExtResource("2_qbsmt") [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="MenuButton" type="MenuButton" parent="VBoxContainer"] layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 4 icon = ExtResource("3_cpr0p") [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] layout_direction = 2 layout_mode = 2 theme_override_constants/separation = 100 alignment = 1 [node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"] layout_mode = 2 alignment = 1 [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 44 text = "FICHAS" horizontal_alignment = 1 vertical_alignment = 1 [node name="TilesContainer" type="GridContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"] custom_minimum_size = Vector2(760, 880) layout_direction = 2 layout_mode = 2 columns = 5 [node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"] layout_mode = 2 alignment = 1 [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer2"] layout_mode = 2 theme_override_font_sizes/font_size = 44 text = "TABLERO" horizontal_alignment = 1 vertical_alignment = 1 [node name="GameBoardContainer" type="Control" parent="VBoxContainer/HBoxContainer/VBoxContainer2"] custom_minimum_size = Vector2(760, 880) layout_mode = 2 [node name="GameBoard" type="PanelContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer2/GameBoardContainer"] layout_mode = 0 offset_left = 6.0 offset_top = 3.0 offset_right = 766.0 offset_bottom = 883.0 theme_override_styles/panel = SubResource("StyleBoxEmpty_cpr0p") [node name="GridContainer" type="GridContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer2/GameBoardContainer/GameBoard"] custom_minimum_size = Vector2(760, 880) layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 0 columns = 5 [node name="WinPopup" type="Window" parent="."] initial_position = 1 size = Vector2i(500, 200) visible = false [node name="ColorRect" type="ColorRect" parent="WinPopup"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.8, 0.8, 0.8, 1) [node name="VBoxContainer" type="VBoxContainer" parent="WinPopup"] anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -46.0 offset_top = -56.0 offset_right = 46.0 offset_bottom = 56.0 grow_horizontal = 2 grow_vertical = 2 [node name="victory_label" type="Label" parent="WinPopup/VBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1) [node name="duration_label" type="Label" parent="WinPopup/VBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1) [node name="fail_count_label" type="Label" parent="WinPopup/VBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1) [node name="exit_endgame_button" type="Button" parent="WinPopup/VBoxContainer"] custom_minimum_size = Vector2(250, 50) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 6 theme_override_styles/normal = SubResource("StyleBoxFlat_cpr0p") text = "SALIR" [node name="Blocker" type="ColorRect" parent="."] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.196078, 0.309804, 0.368627, 0.784314) [connection signal="pressed" from="WinPopup/VBoxContainer/exit_endgame_button" to="." method="_on_exit_button_pressed"]