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
|
[gd_scene load_steps=8 format=3 uid="uid://du5c3h14wyygb"]
[ext_resource type="PackedScene" uid="uid://t27td5jbdv28" path="res://bumper.tscn" id="1_dxpye"]
[ext_resource type="AudioStream" uid="uid://bwy4ji0hb47n" path="res://hit.ogg" id="2_2akie"]
[ext_resource type="Texture2D" uid="uid://bmra2qpibkr2u" path="res://assets/placeholders/6266.png" id="3_4ath6"]
[sub_resource type="Animation" id="Animation_1ja52"]
resource_name = "default"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Rect2(11, 386, 14, 10)]
}
[sub_resource type="Animation" id="Animation_p5cxw"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Rect2(11, 386, 14, 10)]
}
[sub_resource type="Animation" id="Animation_2akie"]
resource_name = "hit"
length = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Rect2(69, 386, 14, 10)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_vjgm0"]
_data = {
&"RESET": SubResource("Animation_p5cxw"),
&"default": SubResource("Animation_1ja52"),
&"hit": SubResource("Animation_2akie")
}
[node name="Bumper-C" node_paths=PackedStringArray("hit_sound", "animation_player") instance=ExtResource("1_dxpye")]
hit_sound = NodePath("Hit")
animation_player = NodePath("AnimationPlayer")
[node name="Hit" type="AudioStreamPlayer" parent="." index="0"]
stream = ExtResource("2_2akie")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="1"]
libraries = {
&"": SubResource("AnimationLibrary_vjgm0")
}
[node name="Sprite2D" type="Sprite2D" parent="." index="2"]
texture = ExtResource("3_4ath6")
centered = false
region_enabled = true
region_rect = Rect2(11, 386, 14, 10)
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." index="3"]
position = Vector2(7, 5)
polygon = PackedVector2Array(6, -4, 3, -4, -6, 1, -6, 3, -4, 3, 6, -2)
|