[gd_scene load_steps=51 format=3 uid="uid://bb5qp5868y5i"] [ext_resource type="Script" path="res://code/main.gd" id="1_ar2ah"] [ext_resource type="PackedScene" uid="uid://8v5mbbnddorh" path="res://scenes/Duck/Duck.tscn" id="2"] [ext_resource type="Script" path="res://code/screen.gd" id="2_cix0i"] [ext_resource type="Texture2D" uid="uid://dgfvf2ta4lc4e" path="res://assets/stars.png" id="2_ohf2r"] [ext_resource type="Script" path="res://scenes/ground/spawner/ground_spawner.gd" id="3_va7mo"] [ext_resource type="Script" path="res://scenes/hurdle/Spawner/spawner.gd" id="4_oc6me"] [ext_resource type="PackedScene" uid="uid://cjq8kb0mhjh8r" path="res://scenes/ground/ground.tscn" id="4_tt0te"] [ext_resource type="Script" path="res://scenes/coin/spawner/coin_spawner.gd" id="8_7ggb5"] [ext_resource type="Script" path="res://scenes/Wolke/Spawner/wolken_spawner.gd" id="11_x2wm3"] [ext_resource type="Script" path="res://scenes/easteregg/Spawner/easteregg_spawner.gd" id="12_hl8it"] [ext_resource type="FontFile" uid="uid://ddvhypxkj8a1b" path="res://Megamichisfont-small.otf" id="13_666gv"] [ext_resource type="Texture2D" uid="uid://cfmflpkl335e3" path="res://assets/GUI/schild.png" id="13_yjq5c"] [ext_resource type="Script" path="res://code/hiscore.gd" id="14_ah063"] [ext_resource type="Texture2D" uid="uid://fon35dtl2fdd" path="res://assets/GUI/buttons fucused/back button f.png" id="15_2rflk"] [ext_resource type="Script" path="res://code/GUI/settingsschild.gd" id="16_4ssry"] [ext_resource type="Texture2D" uid="uid://nvn254p6tk8j" path="res://assets/GUI/back button.png" id="17_3kek5"] [ext_resource type="Texture2D" uid="uid://bkcpp1iryq4hc" path="res://assets/GUI/theme_slider/slider f.png" id="17_f78xf"] [ext_resource type="Texture2D" uid="uid://botwq4rflsfl3" path="res://assets/GUI/buttons fucused/sound button f.png" id="18_ahbxs"] [ext_resource type="Texture2D" uid="uid://bf82voofmvdj4" path="res://assets/GUI/theme_slider/slider.png" id="18_u2no7"] [ext_resource type="Texture2D" uid="uid://46wo0ufacs5d" path="res://assets/GUI/sound button.png" id="19_vwek8"] [ext_resource type="Texture2D" uid="uid://bj06y06uq303j" path="res://assets/GUI/buttons fucused/restart button f.png" id="20_5xtpj"] [ext_resource type="AudioStream" uid="uid://drriw1cka4m3" path="res://assets/audio/gui-in.ogg" id="20_eihxi"] [ext_resource type="Texture2D" uid="uid://do0okfxenx2ci" path="res://assets/GUI/restart button.png" id="20_gdgit"] [ext_resource type="Texture2D" uid="uid://2mq6ck123lm" path="res://assets/GUI/buttons fucused/start button f.png" id="20_i5ekl"] [ext_resource type="AudioStream" uid="uid://ctt1kb2a66yyl" path="res://assets/audio/boing.mp3" id="21_ch5yv"] [ext_resource type="AudioStream" uid="uid://bktthpfrs0118" path="res://assets/audio/gui-out.ogg" id="21_frskh"] [ext_resource type="Script" path="res://code/GUI/startschild.gd" id="21_owbcl"] [ext_resource type="Script" path="res://code/GUI/restartschild.gd" id="21_ytgei"] [ext_resource type="AudioStream" uid="uid://c4wrtvywao1jn" path="res://assets/audio/duckrun.wav" id="22_ijpe0"] [ext_resource type="Texture2D" uid="uid://d2i2d0rmdtklc" path="res://assets/GUI/start button.png" id="22_x686b"] [ext_resource type="Texture2D" uid="uid://dqvnnd3o1eele" path="res://assets/GUI/settings button.png" id="23_on2gf"] [ext_resource type="Texture2D" uid="uid://bj7bgtdcbdald" path="res://assets/GUI/logo.png" id="24_8b8my"] [ext_resource type="Script" path="res://code/score.gd" id="25_2prek"] [ext_resource type="Texture2D" uid="uid://c66oktmsmdu0f" path="res://assets/GUI/buttons fucused/settings button f.png" id="25_bjwbg"] [ext_resource type="PackedScene" uid="uid://dm307sj4nenjt" path="res://scenes/ui/animation.tscn" id="30_30gpa"] [ext_resource type="PackedScene" uid="uid://yiu5npbi008a" path="res://scenes/ui/animation_logo.tscn" id="31_ugbfy"] [sub_resource type="GDScript" id="GDScript_xq7jv"] script/source = "extends ColorRect # Called when the node enters the scene tree for the first time. func _ready() -> void: visible = true " [sub_resource type="Animation" id="Animation_0cnuw"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 0)] } [sub_resource type="Animation" id="Animation_tt0ob"] resource_name = "fade" length = 0.3 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.3), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_qrakk"] _data = { "RESET": SubResource("Animation_0cnuw"), "fade": SubResource("Animation_tt0ob") } [sub_resource type="GDScript" id="GDScript_rkc4w"] script/source = "extends Timer var day = true func _change_time() -> void: if day: $\"../AnimationPlayer\".play(\"change_time\") print(\"playing\") day = not day else: $\"../AnimationPlayer\".play_backwards(\"change_time\") print(\"playing r\") day = not day " [sub_resource type="RectangleShape2D" id="RectangleShape2D_o05as"] size = Vector2(2, 9.75) [sub_resource type="RectangleShape2D" id="RectangleShape2D_0a3yj"] size = Vector2(356.5, 8) [sub_resource type="Animation" id="Animation_plyvn"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("../Fade:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 0)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("BackgroundColor:color") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(0.160784, 0.670588, 0.8, 1)] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath(".:modulate") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 1)] } [sub_resource type="Animation" id="Animation_8pa57"] resource_name = "change_time" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("BackgroundColor:color") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(0.160784, 0.670588, 0.8, 1), Color(0.086, 0.0917334, 0.43, 1)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath(".:modulate") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(1, 1, 1, 1), Color(0.470075, 0.470076, 0.470076, 1)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_t75gq"] _data = { "RESET": SubResource("Animation_plyvn"), "change_time": SubResource("Animation_8pa57") } [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jin1w"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_g0rdc"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xb3tf"] bg_color = Color(1, 0.50219, 0, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(1, 1, 1, 1) corner_detail = 1 expand_margin_top = 1.0 expand_margin_bottom = 2.0 anti_aliasing = false [sub_resource type="Theme" id="Theme_fcgbk"] HSlider/icons/grabber = ExtResource("18_u2no7") HSlider/icons/grabber_highlight = ExtResource("17_f78xf") HSlider/styles/grabber_area = SubResource("StyleBoxEmpty_jin1w") HSlider/styles/grabber_area_highlight = SubResource("StyleBoxEmpty_g0rdc") HSlider/styles/slider = SubResource("StyleBoxFlat_xb3tf") [node name="Game" type="Node"] script = ExtResource("1_ar2ah") [node name="Fade" type="ColorRect" parent="."] modulate = Color(1, 1, 1, 0) z_index = 1 z_as_relative = false offset_top = -9.0 offset_right = 485.0 offset_bottom = 300.0 mouse_filter = 2 color = Color(0, 0, 0, 1) script = SubResource("GDScript_xq7jv") metadata/_edit_lock_ = true [node name="Animation" type="AnimationPlayer" parent="Fade"] libraries = { "": SubResource("AnimationLibrary_qrakk") } [node name="Screen" type="Node2D" parent="."] script = ExtResource("2_cix0i") [node name="BackgroundColor" type="ColorRect" parent="Screen"] offset_left = -10.0 offset_top = -9.0 offset_right = 561.0 offset_bottom = 111.0 color = Color(0.160784, 0.670588, 0.8, 1) [node name="Day-NightTimer" type="Timer" parent="Screen"] wait_time = 15.0 autostart = true script = SubResource("GDScript_rkc4w") [node name="Background" type="Node2D" parent="Screen"] [node name="Stars" type="Sprite2D" parent="Screen/Background"] modulate = Color(1, 1, 1, 0) position = Vector2(130, 50) texture = ExtResource("2_ohf2r") [node name="WolkenSpawner" type="Marker2D" parent="Screen/Background"] position = Vector2(485, 0) script = ExtResource("11_x2wm3") [node name="WolkenTimer" type="Timer" parent="Screen/Background/WolkenSpawner"] autostart = true [node name="GroundSpawner" type="Node2D" parent="Screen/Background"] position = Vector2(0, 8) script = ExtResource("3_va7mo") [node name="Ground" parent="Screen/Background/GroundSpawner" instance=ExtResource("4_tt0te")] [node name="Floor" type="StaticBody2D" parent="Screen/Background"] [node name="EasterEggFixCollision" type="CollisionShape2D" parent="Screen/Background/Floor"] visible = false position = Vector2(14, 86.875) shape = SubResource("RectangleShape2D_o05as") [node name="CollisionShape2D" type="CollisionShape2D" parent="Screen/Background/Floor"] position = Vector2(178.25, 96) shape = SubResource("RectangleShape2D_0a3yj") [node name="Duck" parent="Screen" instance=ExtResource("2")] position = Vector2(25, 52) [node name="CoinSpawner" type="Marker2D" parent="Screen"] position = Vector2(485, 80) script = ExtResource("8_7ggb5") [node name="HurdleSpawner" type="Marker2D" parent="Screen"] position = Vector2(485, 92) script = ExtResource("4_oc6me") metadata/_edit_lock_ = true [node name="LevelUpTimer" type="Timer" parent="Screen"] wait_time = 5.0 [node name="SpawnTimer" type="Timer" parent="Screen"] wait_time = 1.6 [node name="CoinSpawnTimer" type="Timer" parent="Screen"] wait_time = 1.6 [node name="partices" type="Node2D" parent="Screen"] [node name="AnimationPlayer" type="AnimationPlayer" parent="Screen"] libraries = { "": SubResource("AnimationLibrary_t75gq") } [node name="Gui" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 metadata/_edit_lock_ = true [node name="EastereggSpawner" type="Marker2D" parent="Gui"] position = Vector2(81, -18) script = ExtResource("12_hl8it") [node name="HiscoreContainer" type="VBoxContainer" parent="Gui"] layout_mode = 0 offset_left = 1.0 offset_top = 1.0 offset_right = 66.0 offset_bottom = 41.0 theme_override_constants/separation = 0 [node name="hiscore_text" type="Label" parent="Gui/HiscoreContainer"] layout_mode = 2 theme_override_fonts/font = ExtResource("13_666gv") theme_override_font_sizes/font_size = 8 text = "Your Highscore:" [node name="hiscore" type="Label" parent="Gui/HiscoreContainer"] layout_mode = 2 theme_override_fonts/font = ExtResource("13_666gv") theme_override_font_sizes/font_size = 8 text = "0" script = ExtResource("14_ah063") [node name="Settings" type="TextureRect" parent="Gui"] visible = false layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -102.0 offset_top = -68.0 offset_right = -2.0 offset_bottom = 82.0 grow_horizontal = 0 size_flags_horizontal = 8 size_flags_vertical = 4 texture = ExtResource("13_yjq5c") stretch_mode = 2 script = ExtResource("16_4ssry") [node name="BackButton" type="TextureButton" parent="Gui/Settings"] layout_mode = 1 offset_left = 4.0 offset_top = 81.0 offset_right = 19.0 offset_bottom = 96.0 focus_neighbor_bottom = NodePath("../ColorSlider") focus_next = NodePath("../ColorSlider") texture_normal = ExtResource("17_3kek5") texture_focused = ExtResource("15_2rflk") [node name="ColorLabel" type="Label" parent="Gui/Settings"] layout_mode = 0 offset_left = 5.0 offset_top = 106.0 offset_right = 62.0 offset_bottom = 123.0 theme_override_fonts/font = ExtResource("13_666gv") theme_override_font_sizes/font_size = 8 text = "Duck Color:" [node name="VolumeLabel" type="Label" parent="Gui/Settings"] layout_mode = 0 offset_left = 5.0 offset_top = 126.0 offset_right = 45.0 offset_bottom = 149.0 theme_override_fonts/font = ExtResource("13_666gv") theme_override_font_sizes/font_size = 8 text = "Music:" [node name="ColorSlider" type="HSlider" parent="Gui/Settings"] layout_mode = 1 anchors_preset = -1 anchor_right = 0.699 anchor_bottom = 0.5 offset_left = 5.0 offset_top = 110.0 offset_right = 25.1 offset_bottom = 51.0 focus_neighbor_top = NodePath("../BackButton") focus_neighbor_bottom = NodePath("../VolumeSlider") focus_next = NodePath("../VolumeSlider") focus_previous = NodePath("../BackButton") theme = SubResource("Theme_fcgbk") value = 17.0 allow_greater = true allow_lesser = true [node name="VolumeSlider" type="HSlider" parent="Gui/Settings"] layout_mode = 1 anchors_preset = -1 anchor_right = 0.699 anchor_bottom = 0.5 offset_left = 5.0 offset_top = 130.0 offset_right = 11.1 offset_bottom = 71.0 focus_neighbor_left = NodePath("../SoundToggleButton") focus_neighbor_top = NodePath("../ColorSlider") focus_neighbor_bottom = NodePath("../SoundToggleButton") focus_next = NodePath("../SoundToggleButton") focus_previous = NodePath("../ColorSlider") theme = SubResource("Theme_fcgbk") value = 20.0 allow_greater = true allow_lesser = true [node name="SoundToggleButton" type="TextureButton" parent="Gui/Settings"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -19.0 offset_top = -19.0 offset_right = -4.0 offset_bottom = 1.05 grow_horizontal = 0 grow_vertical = 0 toggle_mode = true texture_normal = ExtResource("19_vwek8") texture_focused = ExtResource("18_ahbxs") [node name="AnimationPlayer" parent="Gui/Settings" instance=ExtResource("30_30gpa")] [node name="GameOverSchild" type="TextureRect" parent="Gui"] visible = false layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -51.0 offset_top = -116.0 offset_right = 49.0 offset_bottom = 34.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 4 size_flags_vertical = 4 texture = ExtResource("13_yjq5c") stretch_mode = 2 script = ExtResource("21_ytgei") [node name="Restart" type="TextureButton" parent="Gui/GameOverSchild"] texture_repeat = 2 layout_mode = 1 anchors_preset = -1 anchor_left = 0.5 anchor_top = 0.762 anchor_right = 0.5 anchor_bottom = 0.762 offset_left = -23.0 offset_top = -23.3 offset_right = -8.0 offset_bottom = -8.3 scale = Vector2(3, 3) texture_normal = ExtResource("20_gdgit") texture_focused = ExtResource("20_5xtpj") stretch_mode = 1 metadata/_edit_lock_ = true [node name="back" type="TextureButton" parent="Gui/GameOverSchild"] texture_repeat = 2 layout_mode = 1 anchors_preset = -1 anchor_left = 0.5 anchor_top = 0.762 anchor_right = 0.5 anchor_bottom = 0.762 offset_left = -46.0 offset_top = -33.3 offset_right = -31.0 offset_bottom = -18.3 texture_normal = ExtResource("17_3kek5") texture_focused = ExtResource("15_2rflk") [node name="AnimationPlayer" parent="Gui/GameOverSchild" instance=ExtResource("30_30gpa")] [node name="StartSchild" type="TextureRect" parent="Gui"] layout_mode = 1 anchors_preset = 6 anchor_left = 1.0 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 offset_left = -100.0 offset_top = -117.0 offset_bottom = 33.0 grow_horizontal = 0 grow_vertical = 2 size_flags_horizontal = 4 size_flags_vertical = 4 texture = ExtResource("13_yjq5c") stretch_mode = 2 script = ExtResource("21_owbcl") [node name="Start" type="TextureButton" parent="Gui/StartSchild"] texture_repeat = 2 layout_mode = 1 anchors_preset = -1 anchor_left = 0.5 anchor_top = 0.777 anchor_right = 0.505 anchor_bottom = 0.777 offset_left = -1.0 offset_top = -23.55 offset_right = 13.5 offset_bottom = -8.55 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(3, 3) focus_neighbor_left = NodePath("../Settings") focus_previous = NodePath("../Settings") texture_normal = ExtResource("22_x686b") texture_focused = ExtResource("20_i5ekl") stretch_mode = 1 [node name="Settings" type="TextureButton" parent="Gui/StartSchild"] texture_repeat = 2 layout_mode = 1 anchors_preset = -1 anchor_left = 0.5 anchor_top = 0.777 anchor_right = 0.505 anchor_bottom = 0.777 offset_left = -44.0 offset_top = -23.55 offset_right = -29.5 offset_bottom = -8.55 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(3, 3) focus_neighbor_left = NodePath("../../StartSchildLogo") focus_neighbor_right = NodePath("../Start") focus_next = NodePath("../Start") focus_previous = NodePath("../../StartSchildLogo") texture_normal = ExtResource("23_on2gf") texture_focused = ExtResource("25_bjwbg") stretch_mode = 1 [node name="AnimationPlayer" parent="Gui/StartSchild" instance=ExtResource("30_30gpa")] [node name="StartSchildLogo" type="TextureButton" parent="Gui"] layout_direction = 1 layout_mode = 0 offset_left = -7.0 offset_top = 44.0 offset_right = 121.0 offset_bottom = 73.0 rotation = -0.413643 size_flags_horizontal = 4 size_flags_vertical = 4 focus_neighbor_right = NodePath("../StartSchild/Settings") focus_next = NodePath("../StartSchild/Settings") texture_normal = ExtResource("24_8b8my") [node name="AnimationPlayer" parent="Gui/StartSchildLogo" instance=ExtResource("31_ugbfy")] [node name="ScoreContainer" type="HBoxContainer" parent="Gui"] unique_name_in_owner = true layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -28.0 offset_top = 17.0 offset_right = 29.0 offset_bottom = 24.0 grow_horizontal = 2 script = ExtResource("25_2prek") [node name="text" type="Label" parent="Gui/ScoreContainer"] layout_mode = 2 theme_override_fonts/font = ExtResource("13_666gv") theme_override_font_sizes/font_size = 8 text = "Score:" [node name="score" type="Label" parent="Gui/ScoreContainer"] layout_mode = 2 theme_override_fonts/font = ExtResource("13_666gv") theme_override_font_sizes/font_size = 8 text = " " [node name="ScoreCounter" type="Timer" parent="Gui/ScoreContainer/score"] wait_time = 0.1 autostart = true [node name="Audio" type="Node" parent="."] [node name="Gui-in" type="AudioStreamPlayer" parent="Audio"] stream = ExtResource("20_eihxi") bus = &"Sounds" [node name="Gui-out" type="AudioStreamPlayer" parent="Audio"] stream = ExtResource("21_frskh") bus = &"Sounds" [node name="GameOver" type="AudioStreamPlayer" parent="Audio"] stream = ExtResource("21_ch5yv") bus = &"Sounds" [node name="Duckrun" type="AudioStreamPlayer" parent="Audio"] stream = ExtResource("22_ijpe0") autoplay = true bus = &"Background" [connection signal="timeout" from="Screen/Day-NightTimer" to="Screen/Day-NightTimer" method="_change_time"] [connection signal="timeout" from="Screen/Background/WolkenSpawner/WolkenTimer" to="Screen/Background/WolkenSpawner" method="_spawn"] [connection signal="screen_entered" from="Screen/Background/GroundSpawner/Ground" to="Screen/Background/GroundSpawner" method="_on_ground_sprite_screen_entered"] [connection signal="gameover" from="Screen/Duck" to="Gui/GameOverSchild" method="_on_duck_gameover"] [connection signal="gameover" from="Screen/Duck" to="Screen" method="shake" binds= [4]] [connection signal="timeout" from="Screen/LevelUpTimer" to="." method="_on_level_up_timer_timeout"] [connection signal="timeout" from="Screen/SpawnTimer" to="Screen/HurdleSpawner" method="_spawn"] [connection signal="timeout" from="Screen/CoinSpawnTimer" to="Screen/CoinSpawner" method="_spawn"] [connection signal="pressed" from="Gui/Settings/BackButton" to="Gui/Settings" method="_on_back_pressed"] [connection signal="value_changed" from="Gui/Settings/ColorSlider" to="Screen/Duck" method="_color_slider_changed"] [connection signal="value_changed" from="Gui/Settings/VolumeSlider" to="Gui/Settings" method="_volume_slider_changed"] [connection signal="toggled" from="Gui/Settings/SoundToggleButton" to="Gui/Settings" method="_on_sound_button_toggled"] [connection signal="pressed" from="Gui/GameOverSchild/Restart" to="Gui/GameOverSchild" method="_on_restart_pressed"] [connection signal="pressed" from="Gui/GameOverSchild/back" to="Gui/GameOverSchild" method="_on_back_pressed"] [connection signal="pressed" from="Gui/StartSchild/Start" to="Gui/StartSchild" method="_on_start_pressed"] [connection signal="pressed" from="Gui/StartSchild/Settings" to="Gui/StartSchild" method="_on_settings_pressed"] [connection signal="pressed" from="Gui/StartSchildLogo" to="Gui/EastereggSpawner" method="_spawn"] [connection signal="timeout" from="Gui/ScoreContainer/score/ScoreCounter" to="." method="_score"]