-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVictoryScreen.tscn
125 lines (109 loc) · 3.67 KB
/
VictoryScreen.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[gd_scene load_steps=11 format=3 uid="uid://coj5625j7xwft"]
[ext_resource type="Texture2D" uid="uid://et1sbawyllpi" path="res://assets/victory.png" id="1_7fejt"]
[ext_resource type="Script" path="res://VictoryScreen.gd" id="1_fl8wd"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7mmme"]
bg_color = Color(0.905882, 1, 0.886275, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0jmfw"]
bg_color = Color(1, 0.709804, 0.713726, 1)
skew = Vector2(0.1, 0)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
shadow_color = Color(0.913725, 0.254902, 0.372549, 0.6)
shadow_size = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tvpmg"]
bg_color = Color(0.901961, 0.6, 0.6, 1)
skew = Vector2(0.1, 0)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
shadow_color = Color(1, 0, 0, 0.6)
shadow_size = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_31kbu"]
skew = Vector2(0.1, 0)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_n0573"]
[sub_resource type="Animation" id="Animation_wixxm"]
resource_name = "default"
length = 4.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Victory:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2, 4),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [0.0174533, -0.0174533, 0.0174533]
}
[sub_resource type="Animation" id="Animation_d4sah"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Victory:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_sm5v7"]
_data = {
"RESET": SubResource("Animation_d4sah"),
"default": SubResource("Animation_wixxm")
}
[node name="VictoryScreen" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_fl8wd")
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_7mmme")
[node name="Victory" type="Sprite2D" parent="."]
position = Vector2(634, 368)
texture = ExtResource("1_7fejt")
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 61.0
offset_top = 73.0
offset_right = 455.0
offset_bottom = 179.0
theme_override_colors/font_color = Color(0.443137, 0.780392, 0, 1)
theme_override_colors/font_shadow_color = Color(1, 0.803922, 0.541176, 1)
theme_override_font_sizes/font_size = 75
text = "YOU WIN!!!"
[node name="Menu" type="Button" parent="."]
offset_left = 455.0
offset_top = 505.0
offset_right = 665.0
offset_bottom = 587.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_pressed_color = Color(0.682353, 0.682353, 0.682353, 1)
theme_override_colors/font_hover_color = Color(1, 0.854902, 0.854902, 1)
theme_override_font_sizes/font_size = 30
theme_override_styles/normal = SubResource("StyleBoxFlat_0jmfw")
theme_override_styles/hover = SubResource("StyleBoxFlat_tvpmg")
theme_override_styles/pressed = SubResource("StyleBoxFlat_31kbu")
theme_override_styles/focus = SubResource("StyleBoxEmpty_n0573")
text = "MAIN MENU"
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_sm5v7")
}
[connection signal="pressed" from="Menu" to="." method="_on_menu_pressed"]