mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
101 lines
3.5 KiB
Text
101 lines
3.5 KiB
Text
[gd_scene load_steps=11 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]
|
|
[ext_resource path="res://Menu/Buttons/LevelSelectIconButton.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://Menu/Icons/Home/homeIcon1.png" type="Texture" id=6]
|
|
[ext_resource path="res://Menu/Icons/Home/homeIcon2.png" type="Texture" id=7]
|
|
[ext_resource path="res://Menu/Icons/Home/homeIcon3.png" type="Texture" id=8]
|
|
[ext_resource path="res://Menu/WinScreenScoreLabel.gd" type="Script" id=9]
|
|
|
|
[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 = 44.0
|
|
margin_bottom = 120.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_left = 9.0
|
|
margin_right = 41.0
|
|
margin_bottom = 32.0
|
|
|
|
[node name="LevelSelectIconButton" parent="Control/Panel/CenterContainer/GridContainer/ButtonRow" index="1" instance=ExtResource( 5 )]
|
|
margin_left = 45.0
|
|
margin_right = 77.0
|
|
margin_bottom = 32.0
|
|
texture_normal = ExtResource( 6 )
|
|
texture_pressed = ExtResource( 8 )
|
|
texture_hover = ExtResource( 7 )
|
|
|
|
[node name="WinScreenScoreLabel" type="Label" parent="Control/Panel/CenterContainer/GridContainer" index="2"]
|
|
margin_top = 58.0
|
|
margin_right = 86.0
|
|
margin_bottom = 76.0
|
|
text = "700"
|
|
align = 1
|
|
script = ExtResource( 9 )
|
|
|
|
[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"]
|