-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIntro.tscn
180 lines (161 loc) · 5.73 KB
/
Intro.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[gd_scene load_steps=14 format=3 uid="uid://beqge8t3wfwqv"]
[ext_resource type="Texture2D" uid="uid://dpdm457iyn7l5" path="res://assets_temporaires/Background/Yellow.png" id="1_heqnp"]
[ext_resource type="Texture2D" uid="uid://dadia0e0rt3rq" path="res://text/Cool Text - Chuck 451772778640679.png" id="2_3kii8"]
[ext_resource type="Texture2D" uid="uid://cksdumk37l3lb" path="res://text/cooltext451772758683178.png" id="3_rb4ax"]
[ext_resource type="Texture2D" uid="uid://di01aesokibcs" path="res://text/Cool Text - Davy 451772812681209.png" id="4_cntyy"]
[ext_resource type="Texture2D" uid="uid://dn5chrrxp3ydx" path="res://text/cooltext451772897839074.png" id="5_c2yj0"]
[ext_resource type="Texture2D" uid="uid://bw8ms1atanepy" path="res://text/cooltext451772729697101.png" id="6_1to8e"]
[ext_resource type="Script" path="res://Button.gd" id="7_ioryi"]
[ext_resource type="Texture2D" uid="uid://n45x76seyjx1" path="res://assets_temporaires/Enemies/Chicken/Run (32x34).png" id="8_bwidr"]
[ext_resource type="Texture2D" uid="uid://cy6lstvbm6bxj" path="res://assets_temporaires/Enemies/Duck/Jump (36x36).png" id="9_gufrx"]
[ext_resource type="Texture2D" uid="uid://b2yfd24a3ciai" path="res://vrais assets/game studio logo.png" id="10_6be73"]
[sub_resource type="Animation" id="Animation_rue5p"]
length = 4.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(-0.1, 2.1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("../Logo:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(2.6, 3.9),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(1.143, 1.188), Vector2(1e-05, 1e-05)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("../Logo:rotation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(2.6, 3.9),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 6.28319]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("../Button:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 3.9),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [false, true]
}
[sub_resource type="Animation" id="Animation_0ykqc"]
resource_name = "fade_in"
length = 5.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(2.6, 5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_18bli"]
_data = {
"RESET": SubResource("Animation_rue5p"),
"fade_in": SubResource("Animation_0ykqc")
}
[node name="Intro" type="Node"]
[node name="TextureRect" type="TextureRect" parent="."]
modulate = Color(1, 1, 0.545098, 1)
texture_filter = 1
anchors_preset = -1
anchor_right = 1.008
anchor_bottom = 1.0
offset_top = -1.0
offset_right = -0.216064
offset_bottom = 8.0
texture = ExtResource("1_heqnp")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(339, 126)
scale = Vector2(0.806787, 0.952381)
texture = ExtResource("2_3kii8")
[node name="Sprite2D2" type="Sprite2D" parent="."]
position = Vector2(583, 162)
scale = Vector2(0.877778, 0.961538)
texture = ExtResource("3_rb4ax")
[node name="Sprite2D3" type="Sprite2D" parent="."]
position = Vector2(823, 144)
texture = ExtResource("4_cntyy")
[node name="Sprite2D4" type="Sprite2D" parent="."]
position = Vector2(600, 249)
texture = ExtResource("5_c2yj0")
[node name="Sprite2D5" type="Sprite2D" parent="."]
position = Vector2(592, 339)
scale = Vector2(1.21296, 1.26316)
texture = ExtResource("6_1to8e")
[node name="Label" type="Label" parent="."]
modulate = Color(0.917647, 0, 1, 1)
offset_top = 377.0
offset_right = 914.0
offset_bottom = 561.0
scale = Vector2(1.265, 1.265)
text = "Hi, and welcome to undercooked, a game made in 48 hours !
Your goal is to complete all the recipes on the lower part of the screen as fast as possible !
Plug in 2 controllers for 2 players (or use your keyboard, arrows and zqsd),
and use the joystick to move, A to jump, X to pickup and use objects,
and LR to dash and throw objects if picked up."
horizontal_alignment = 1
vertical_alignment = 1
[node name="Sprite2D6" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(2526, 670)
rotation = 0.225147
scale = Vector2(7.35435, 6.94678)
texture = ExtResource("8_bwidr")
[node name="Sprite2D7" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(167, 352)
rotation = -0.44855
scale = Vector2(5.75595, 4.95722)
texture = ExtResource("9_gufrx")
flip_h = true
[node name="Logo" type="Sprite2D" parent="."]
position = Vector2(582, 333)
scale = Vector2(1.143, 1.188)
texture = ExtResource("10_6be73")
[node name="ColorRect" type="ColorRect" parent="."]
offset_left = -23.0
offset_top = -11.0
offset_right = 1183.0
offset_bottom = 668.0
color = Color(0, 0, 0, 0.954545)
[node name="Button" type="Button" parent="."]
visible = false
offset_left = 491.0
offset_top = 584.0
offset_right = 667.0
offset_bottom = 640.0
text = "PLAY"
script = ExtResource("7_ioryi")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../ColorRect")
libraries = {
"": SubResource("AnimationLibrary_18bli")
}
autoplay = "RESET"
[connection signal="pressed" from="Button" to="Button" method="_on_pressed"]