[gd_scene load_steps=6 format=2] [ext_resource path="res://Menu/MenuPage.tscn" type="PackedScene" id=1] [ext_resource path="res://Menu/Buttons/RestartButton.tscn" type="PackedScene" id=2] [ext_resource path="res://Menu/Theme.tres" type="Theme" id=3] [ext_resource path="res://Menu/WinScreen.gd" type="Script" id=4] [sub_resource type="Animation" id=1] resource_name = "win" length = 3.0 tracks/0/type = "bezier" tracks/0/path = NodePath("Congratulations2:position:x") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "points": PoolRealArray( 392, -0.0126027, 11.8, 0.35313, -330.637, 181, -0.25, 0, 0.25, 0 ), "times": PoolRealArray( 0, 1 ) } tracks/1/type = "bezier" tracks/1/path = NodePath("Congratulations:position:x") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "points": PoolRealArray( -184, -0.25, 0, 0.25, 0, 101, -0.25, 0, 0.25, 0 ), "times": PoolRealArray( 0, 1 ) } [node name="WinScreen" instance=ExtResource( 1 )] script = ExtResource( 4 ) [node name="Control" parent="." index="0"] visible = false [node name="GridContainer" parent="Control/Panel/CenterContainer" index="0"] margin_top = 49.0 margin_bottom = 103.0 [node name="ButtonRow" parent="Control/Panel/CenterContainer/GridContainer" index="1"] margin_bottom = 54.0 [node name="RestartButton" parent="Control/Panel/CenterContainer/GridContainer/ButtonRow" index="0" instance=ExtResource( 2 )] margin_bottom = 32.0 [node name="AnimationPlayer" type="AnimationPlayer" parent="." index="1"] anims/win = SubResource( 1 ) [node name="Congratulations" type="Node2D" parent="." index="2"] position = Vector2( -184, 104 ) [node name="Cogratulations!!!" type="Label" parent="Congratulations" index="0"] margin_right = 182.0 margin_bottom = 18.0 theme = ExtResource( 3 ) custom_colors/font_color = Color( 0.454902, 0.337255, 0.607843, 1 ) custom_colors/font_outline_modulate = Color( 0.454902, 0.337255, 0.607843, 1 ) text = "congratulations!!!" __meta__ = { "_edit_use_anchors_": false } [node name="Congratulations2" type="Node2D" parent="." index="3"] position = Vector2( 392, 135 ) [node name="you won!" type="Label" parent="Congratulations2" index="0"] margin_right = 88.0 margin_bottom = 18.0 theme = ExtResource( 3 ) custom_colors/font_color = Color( 0.454902, 0.337255, 0.607843, 1 ) text = "you won!" __meta__ = { "_edit_use_anchors_": false } [connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]