[gd_scene load_steps=12 format=3 uid="uid://c466swcqlfwtj"] [ext_resource type="Script" uid="uid://dhqnf0xm2mwwm" path="res://scripts/game.gd" id="1_uwrxv"] [ext_resource type="Texture2D" uid="uid://c4g0gbifdm5fe" path="res://images/background.png" id="2_lnu2h"] [ext_resource type="Texture2D" uid="uid://cncae337c0ws8" path="res://images/menu_logo.png" id="3_lnu2h"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0tnpc"] bg_color = Color(0.92549, 0.376471, 0.615686, 0.788235) border_color = Color(0, 0, 0, 1) corner_radius_top_left = 5 corner_radius_top_right = 5 corner_radius_bottom_right = 5 corner_radius_bottom_left = 5 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yqjtg"] bg_color = Color(0.92549, 0.376471, 0.615686, 1) border_width_left = 5 border_width_top = 5 border_width_right = 5 border_width_bottom = 5 border_color = Color(0, 0, 0, 1) corner_radius_top_left = 60 corner_radius_top_right = 60 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lnu2h"] bg_color = Color(0, 0.718972, 0.352325, 1) border_width_left = 5 border_width_top = 5 border_width_right = 5 border_width_bottom = 5 border_color = Color(0, 0, 0, 1) corner_radius_bottom_left = 60 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lbhrr"] bg_color = Color(0.901268, 0.463041, 0.139193, 1) border_width_left = 5 border_width_top = 5 border_width_right = 5 border_width_bottom = 5 border_color = Color(0, 0, 0, 1) corner_radius_bottom_right = 60 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_iywne"] bg_color = Color(0.588235, 0.654902, 0.686275, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p57ef"] bg_color = Color(0.196078, 0.309804, 0.368627, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_u5sy4"] bg_color = Color(0.196078, 0.309804, 0.368627, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gee14"] bg_color = Color(0.196078, 0.309804, 0.368627, 1) [node name="Game" 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_uwrxv") [node name="TextureRect" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_vertical = 3 texture = ExtResource("2_lnu2h") expand_mode = 1 stretch_mode = 6 [node name="CenterContainer" type="CenterContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"] custom_minimum_size = Vector2(900, 420) layout_mode = 2 [node name="NextSoundButton" type="Button" parent="CenterContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 focus_mode = 0 theme_override_font_sizes/font_size = 50 theme_override_styles/pressed = SubResource("StyleBoxFlat_0tnpc") theme_override_styles/normal = SubResource("StyleBoxFlat_yqjtg") text = "Reproducir sonido" [node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 150) layout_mode = 2 size_flags_vertical = 3 [node name="RepeatSoundButton" type="Button" parent="CenterContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 focus_mode = 0 theme_override_font_sizes/font_size = 40 theme_override_styles/normal = SubResource("StyleBoxFlat_lnu2h") text = "Repetir sonido" [node name="EndOfGameButton" type="Button" parent="CenterContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 focus_mode = 0 theme_override_font_sizes/font_size = 40 theme_override_styles/normal = SubResource("StyleBoxFlat_lbhrr") text = "Fin de partida" [node name="AnimalAudio" type="AudioStreamPlayer2D" parent="."] [node name="WinnerSelector" type="Window" parent="."] initial_position = 1 size = Vector2i(500, 200) visible = false [node name="ColorRect" type="ColorRect" parent="WinnerSelector"] 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="WinnerSelector"] anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -225.0 offset_top = -56.0 offset_right = 225.0 offset_bottom = 56.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 30 [node name="Label" type="Label" parent="WinnerSelector/VBoxContainer"] layout_mode = 2 size_flags_vertical = 6 theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1) text = "¿Quien a ganado?" horizontal_alignment = 1 vertical_alignment = 1 [node name="MenuPlayers" type="MenuButton" parent="WinnerSelector/VBoxContainer"] custom_minimum_size = Vector2(450, 30) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 6 theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1) theme_override_styles/normal = SubResource("StyleBoxFlat_iywne") text = "Jugadores 🡣" flat = false [node name="Button" type="Button" parent="WinnerSelector/VBoxContainer"] custom_minimum_size = Vector2(250, 50) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 6 theme_override_styles/normal = SubResource("StyleBoxFlat_p57ef") text = "Finalizar partida" [node name="Bloqueador" type="ColorRect" parent="."] visible = false layout_mode = 1 offset_right = 1920.0 offset_bottom = 1080.0 color = Color(0.196078, 0.309804, 0.368627, 0.784314) [node name="MenuButton" type="MenuButton" parent="."] layout_mode = 0 offset_right = 8.0 offset_bottom = 8.0 icon = ExtResource("3_lnu2h") [node name="ExitButtonWindow" type="Window" parent="."] initial_position = 1 size = Vector2i(600, 200) visible = false [node name="ColorRect" type="ColorRect" parent="ExitButtonWindow"] 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="ExitButtonWindow"] anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -20.0 offset_top = -20.0 offset_right = 20.0 offset_bottom = 20.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 30 [node name="Label" type="Label" parent="ExitButtonWindow/VBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1) theme_override_font_sizes/font_size = 30 text = "No se guardaran los datos de la partida" [node name="HBoxContainer" type="HBoxContainer" parent="ExitButtonWindow/VBoxContainer"] layout_mode = 2 [node name="ConfirmExitButton" type="Button" parent="ExitButtonWindow/VBoxContainer/HBoxContainer"] custom_minimum_size = Vector2(0, 80) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 4 theme_override_styles/normal = SubResource("StyleBoxFlat_u5sy4") text = "Aceptar" [node name="CancelExitButton" type="Button" parent="ExitButtonWindow/VBoxContainer/HBoxContainer"] custom_minimum_size = Vector2(0, 80) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 4 theme_override_styles/normal = SubResource("StyleBoxFlat_gee14") text = "Cancelar" [connection signal="pressed" from="CenterContainer/VBoxContainer/NextSoundButton" to="." method="_on_next_sound_button_pressed"] [connection signal="pressed" from="CenterContainer/VBoxContainer/HBoxContainer/RepeatSoundButton" to="." method="_on_repeat_sound_button_pressed"] [connection signal="pressed" from="CenterContainer/VBoxContainer/HBoxContainer/EndOfGameButton" to="." method="_on_end_of_game_button_pressed"] [connection signal="pressed" from="WinnerSelector/VBoxContainer/Button" to="." method="_on_winner_button_pressed"]