mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
159 lines
4.8 KiB
Text
159 lines
4.8 KiB
Text
[gd_scene load_steps=12 format=2]
|
|
|
|
[ext_resource path="res://Menu/LevelInfo.tscn" type="PackedScene" id=1]
|
|
[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]
|
|
[ext_resource path="res://Menu/LevelList.tscn" type="PackedScene" id=10]
|
|
|
|
[sub_resource type="StyleBoxFlat" id=2]
|
|
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color( 0.454902, 0.337255, 0.607843, 1 )
|
|
|
|
[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" type="CanvasLayer"]
|
|
pause_mode = 2
|
|
script = ExtResource( 4 )
|
|
|
|
[node name="Control" type="Control" parent="."]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
focus_mode = 1
|
|
theme = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Panel2" type="Panel" parent="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 12.0
|
|
margin_top = 12.0
|
|
margin_right = -12.0
|
|
margin_bottom = -12.0
|
|
custom_styles/panel = SubResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Panel" type="HBoxContainer" parent="Control/Panel2"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
theme = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="LevelList" parent="Control/Panel2/Panel" instance=ExtResource( 10 )]
|
|
margin_left = 0.0
|
|
margin_right = 192.0
|
|
margin_bottom = 192.0
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="Control/Panel2/Panel"]
|
|
margin_left = 196.0
|
|
margin_right = 313.0
|
|
margin_bottom = 192.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="GridContainer" type="VBoxContainer" parent="Control/Panel2/Panel/CenterContainer"]
|
|
margin_left = 15.0
|
|
margin_top = 56.0
|
|
margin_right = 101.0
|
|
margin_bottom = 136.0
|
|
|
|
[node name="WinScreenScoreLabel" type="Label" parent="Control/Panel2/Panel/CenterContainer/GridContainer"]
|
|
margin_right = 117.0
|
|
margin_bottom = 18.0
|
|
text = "700"
|
|
script = ExtResource( 9 )
|
|
|
|
[node name="Heading" type="Label" parent="Control/Panel2/Panel/CenterContainer/GridContainer"]
|
|
margin_top = 22.0
|
|
margin_right = 117.0
|
|
margin_bottom = 40.0
|
|
theme = ExtResource( 3 )
|
|
text = "you won!"
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Control/Panel2/Panel/CenterContainer/GridContainer"]
|
|
margin_top = 44.0
|
|
margin_right = 117.0
|
|
margin_bottom = 76.0
|
|
|
|
[node name="LevelSelectIconButton" parent="Control/Panel2/Panel/CenterContainer/GridContainer/HBoxContainer" instance=ExtResource( 5 )]
|
|
margin_right = 32.0
|
|
margin_bottom = 32.0
|
|
texture_normal = ExtResource( 6 )
|
|
texture_pressed = ExtResource( 8 )
|
|
texture_hover = ExtResource( 7 )
|
|
|
|
[node name="LevelInfo" parent="Control/Panel2/Panel/CenterContainer/GridContainer" instance=ExtResource( 1 )]
|
|
anchor_top = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 80.0
|
|
margin_bottom = 178.0
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
anims/win = SubResource( 1 )
|
|
|
|
[node name="Congratulations" type="Node2D" parent="."]
|
|
position = Vector2( -184, 104 )
|
|
|
|
[node name="Cogratulations!!!" type="Label" parent="Congratulations"]
|
|
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="."]
|
|
position = Vector2( 392, 135 )
|
|
|
|
[node name="you won!" type="Label" parent="Congratulations2"]
|
|
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"]
|