-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorb.tscn
123 lines (103 loc) · 3.29 KB
/
orb.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
[gd_scene load_steps=18 format=3 uid="uid://8otrcq1wop34"]
[ext_resource type="Script" path="res://orb.gd" id="1_qelfg"]
[ext_resource type="Texture2D" uid="uid://bp7dudaluijlr" path="res://orb/orb.png" id="1_sumpr"]
[sub_resource type="AtlasTexture" id="AtlasTexture_xppye"]
atlas = ExtResource("1_sumpr")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_iexy1"]
atlas = ExtResource("1_sumpr")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_mv1iu"]
atlas = ExtResource("1_sumpr")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_uwp4a"]
atlas = ExtResource("1_sumpr")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_mx1pl"]
atlas = ExtResource("1_sumpr")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_i5jyr"]
atlas = ExtResource("1_sumpr")
region = Rect2(448, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_qdhcr"]
atlas = ExtResource("1_sumpr")
region = Rect2(512, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5vu6x"]
atlas = ExtResource("1_sumpr")
region = Rect2(640, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_m3con"]
atlas = ExtResource("1_sumpr")
region = Rect2(704, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_wlw6x"]
atlas = ExtResource("1_sumpr")
region = Rect2(768, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hqu4x"]
atlas = ExtResource("1_sumpr")
region = Rect2(576, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ma2ny"]
atlas = ExtResource("1_sumpr")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_x7k0e"]
atlas = ExtResource("1_sumpr")
region = Rect2(384, 0, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_mpuy4"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_xppye")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iexy1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mv1iu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uwp4a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mx1pl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i5jyr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qdhcr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5vu6x")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m3con")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wlw6x")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hqu4x")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ma2ny")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_x7k0e")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="SphereShape3D" id="SphereShape3D_acdc1"]
radius = 1.8
[node name="Orb" type="Area3D"]
collision_layer = 0
script = ExtResource("1_qelfg")
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
billboard = 1
sprite_frames = SubResource("SpriteFrames_mpuy4")
autoplay = "default"
frame = 2
frame_progress = 0.687985
speed_scale = 2.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_acdc1")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]