-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreceptor.tscn
33 lines (27 loc) · 989 Bytes
/
receptor.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
[gd_scene load_steps=5 format=3 uid="uid://bb161r1t8cx6m"]
[ext_resource type="Texture2D" uid="uid://bpqggyeprblio" path="res://sprites/Receptor/Receptor.png" id="1_md2ys"]
[ext_resource type="Texture2D" uid="uid://xky1u5ef0aur" path="res://sprites/Receptor/ReceptorActivated.png" id="2_yjoyf"]
[sub_resource type="SpriteFrames" id="SpriteFrames_6iwjq"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_md2ys")
}, {
"duration": 1.0,
"texture": ExtResource("2_yjoyf")
}],
"loop": false,
"name": &"activate",
"speed": 5.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_becq6"]
radius = 28.0
height = 102.0
[node name="Receptor" type="Receptor"]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
scale = Vector2(0.15, 0.15)
sprite_frames = SubResource("SpriteFrames_6iwjq")
animation = &"activate"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
scale = Vector2(0.15, 0.15)
shape = SubResource("CapsuleShape2D_becq6")