-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlayer.tscn
88 lines (80 loc) · 2.66 KB
/
Player.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
[gd_scene load_steps=7 format=3 uid="uid://b6h2b4y1y3dvy"]
[ext_resource type="Script" path="res://Player.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://d12gkcuanxi76" path="res://helsi.png" id="2_vv53m"]
[ext_resource type="AudioStream" uid="uid://c3epi2g1dtf5f" path="res://Tracks/GameOver.mp3" id="3_qlwkq"]
[sub_resource type="Animation" id="Animation_uh3jd"]
resource_name = "game_over"
length = 2.1
step = 5.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = false
tracks/0/path = NodePath("..:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.01, 0.49, 0.96, 1.42, 1.8, 2.09),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 0,
"values": [3.48787e-16, 0.523599, 1.0472, 1.5708, 2.0944, 3.48787e-16]
}
tracks/1/type = "audio"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("../AudoGameOver")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"clips": [{
"end_offset": 0.76,
"start_offset": 0.0,
"stream": ExtResource("3_qlwkq")
}],
"times": PackedFloat32Array(0)
}
tracks/1/use_blend = true
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = false
tracks/2/path = NodePath("..:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.02, 0.59, 1.21, 1.71, 2.09),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Vector2(2.08165e-12, 100), Vector2(2.08165e-12, 200), Vector2(2.08165e-12, 300), Vector2(2.08165e-12, 400), Vector2(2.08165e-12, 500)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("..:modulate")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.04, 0.57, 1.24, 1.69, 2.08),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0.784314), Color(1, 1, 1, 0.588235), Color(1, 1, 1, 0.392157), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_pvwwb"]
length = 0.001
[sub_resource type="AnimationLibrary" id="AnimationLibrary_hks5e"]
_data = {
"RESET": SubResource("Animation_pvwwb"),
"game_over": SubResource("Animation_uh3jd")
}
[node name="Player" type="Node2D"]
position = Vector2(2.08165e-12, 500)
script = ExtResource("1")
[node name="AudoGameOver" type="AudioStreamPlayer" parent="."]
[node name="Sprite2D" type="Sprite2D" parent="."]
z_index = -1
position = Vector2(-19, -125)
rotation = -0.010256
texture = ExtResource("2_vv53m")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Sprite2D"]
movie_quit_on_finish = true
libraries = {
"": SubResource("AnimationLibrary_hks5e")
}