[gd_scene load_steps=7 format=2] [ext_resource path="res://Assets/Hack Regular Nerd Font Complete.ttf" type="DynamicFontData" id=1] [ext_resource path="res://Scripts/HUD.gd" type="Script" id=2] [ext_resource path="res://Assets/Suoni/menu.wav" type="AudioStream" id=3] [ext_resource path="res://Assets/Suoni/menu02.wav" type="AudioStream" id=4] [sub_resource type="DynamicFont" id=1] size = 24 outline_size = 1 outline_color = Color( 0, 0, 0, 1 ) font_data = ExtResource( 1 ) [sub_resource type="DynamicFont" id=2] size = 39 outline_size = 2 outline_color = Color( 0, 0, 0, 1 ) font_data = ExtResource( 1 ) [node name="HUD" type="CanvasLayer"] script = ExtResource( 2 ) suono_bottone = ExtResource( 3 ) suono_slider = ExtResource( 4 ) [node name="SFX" type="AudioStreamPlayer" parent="."] stream = ExtResource( 3 ) [node name="Pannello_popup" type="PopupPanel" parent="."] anchor_left = 0.25 anchor_top = 0.4 anchor_right = 0.75 anchor_bottom = 0.5 margin_top = -35.5 margin_bottom = 35.5 popup_exclusive = true __meta__ = { "_edit_use_anchors_": false } [node name="Domanda" type="Label" parent="Pannello_popup"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -176.0 margin_top = -95.5 margin_right = 176.0 margin_bottom = 95.5 custom_fonts/font = SubResource( 1 ) text = "Vuoi chiudere la partita? Qualsiasi progresso verrà perso." align = 1 autowrap = true [node name="Tasto_no" type="Button" parent="Pannello_popup/Domanda"] anchor_top = 1.0 anchor_bottom = 1.0 margin_top = -65.0 margin_right = 100.0 custom_fonts/font = SubResource( 2 ) text = "No" [node name="Tasto_ok" type="Button" parent="Pannello_popup/Domanda"] anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -100.0 margin_top = -65.0 custom_fonts/font = SubResource( 2 ) text = "Sì" [node name="Contenitore_alto" type="HBoxContainer" parent="."] visible = false anchor_right = 1.0 margin_bottom = 50.0 grow_horizontal = 2 alignment = 1 __meta__ = { "_edit_use_anchors_": false } [node name="Tasto_esci" type="Button" parent="Contenitore_alto"] margin_right = 88.0 margin_bottom = 50.0 grow_horizontal = 0 custom_fonts/font = SubResource( 2 ) text = "Esci" __meta__ = { "_edit_use_anchors_": false, "_editor_description_": "" } [node name="Chi_sta_giocando" type="RichTextLabel" parent="Contenitore_alto"] margin_left = 92.0 margin_right = 508.0 margin_bottom = 50.0 size_flags_horizontal = 3 custom_fonts/normal_font = SubResource( 2 ) bbcode_enabled = true bbcode_text = "[center][color=#00ff00]Giocatore 1[/color]" text = "Giocatore 1" [node name="Tasto_undo" type="Button" parent="Contenitore_alto"] margin_left = 512.0 margin_right = 600.0 margin_bottom = 50.0 custom_fonts/font = SubResource( 2 ) text = "Undo" [node name="Contenitore_verticale" type="VBoxContainer" parent="."] anchor_top = 0.2 anchor_right = 1.0 anchor_bottom = 0.802 margin_left = -90.0 margin_right = 90.0 margin_bottom = 0.439941 grow_horizontal = 2 grow_vertical = 2 custom_constants/separation = 50 __meta__ = { "_edit_use_anchors_": false } [node name="Titolo_del_gioco" type="Label" parent="Contenitore_verticale"] margin_right = 900.0 margin_bottom = 47.0 grow_vertical = 0 custom_fonts/font = SubResource( 2 ) text = "Titolo del gioco" align = 1 autowrap = true __meta__ = { "_edit_use_anchors_": false } [node name="Schermata_iniziale_testo" type="Label" parent="Contenitore_verticale"] margin_top = 97.0 margin_right = 900.0 margin_bottom = 194.0 custom_fonts/font = SubResource( 2 ) text = "Seleziona il numero di colonne (9)" align = 1 __meta__ = { "_edit_use_anchors_": false } [node name="Contenitore_centrante" type="CenterContainer" parent="Contenitore_verticale"] margin_top = 244.0 margin_right = 900.0 margin_bottom = 344.0 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 0, 60 ) [node name="Input_numero_colonne" type="HSlider" parent="Contenitore_verticale/Contenitore_centrante"] margin_left = 350.0 margin_right = 550.0 margin_bottom = 100.0 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 200, 100 ) size_flags_vertical = 2 min_value = 3.0 max_value = 10.0 value = 3.0 rounded = true __meta__ = { "_edit_use_anchors_": false } [node name="Tasto_start" type="Button" parent="Contenitore_verticale"] margin_left = 386.0 margin_top = 394.0 margin_right = 513.0 margin_bottom = 447.0 grow_horizontal = 2 size_flags_horizontal = 4 custom_fonts/font = SubResource( 2 ) text = "Start" __meta__ = { "_edit_use_anchors_": false } [connection signal="pressed" from="Pannello_popup/Domanda/Tasto_no" to="." method="_on_tasto_no_pressed"] [connection signal="pressed" from="Pannello_popup/Domanda/Tasto_ok" to="." method="_on_tasto_ok_pressed"] [connection signal="pressed" from="Contenitore_alto/Tasto_esci" to="." method="_on_Esci_tasto_pressed"] [connection signal="pressed" from="Contenitore_alto/Tasto_undo" to="." method="_on_Undo_button_pressed"] [connection signal="value_changed" from="Contenitore_verticale/Contenitore_centrante/Input_numero_colonne" to="." method="_on_Input_numero_colonne_value_changed"] [connection signal="pressed" from="Contenitore_verticale/Tasto_start" to="." method="_on_Start_button_pressed"]