-
Notifications
You must be signed in to change notification settings - Fork 0
/
coin.tscn
79 lines (71 loc) · 2.85 KB
/
coin.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
[gd_scene load_steps=15 format=3 uid="uid://dpc8tc11m11d8"]
[ext_resource type="Script" path="res://coin.gd" id="1_d1ml5"]
[ext_resource type="Texture2D" uid="uid://bjuw4lapqus7f" path="res://assets/coin/coin-frame-1.png" id="1_v3uby"]
[ext_resource type="Texture2D" uid="uid://don16u8itwgnv" path="res://assets/coin/coin-frame-2.png" id="2_y6puj"]
[ext_resource type="Texture2D" uid="uid://dfpn00ureldoa" path="res://assets/coin/coin-frame-3.png" id="3_4wplg"]
[ext_resource type="Texture2D" uid="uid://d4ljqfmujoqsc" path="res://assets/coin/coin-frame-4.png" id="4_a6xkk"]
[ext_resource type="Texture2D" uid="uid://ctwdvxsufqfqx" path="res://assets/coin/coin-frame-5.png" id="5_lnmy3"]
[ext_resource type="Texture2D" uid="uid://xmd878sfxfa6" path="res://assets/coin/coin-frame-6.png" id="6_21887"]
[ext_resource type="Texture2D" uid="uid://dnoourcxjk5te" path="res://assets/coin/coin-frame-7.png" id="7_pbi2g"]
[ext_resource type="Texture2D" uid="uid://cv7qnbnsbnap6" path="res://assets/coin/coin-frame-8.png" id="8_dc8k3"]
[ext_resource type="Texture2D" uid="uid://dsq6f8utxgqtd" path="res://assets/coin/coin-frame-9.png" id="9_2m7yb"]
[ext_resource type="Texture2D" uid="uid://bolccqlnaw213" path="res://assets/coin/coin-frame-10.png" id="10_hr6in"]
[ext_resource type="Texture2D" uid="uid://djeo6sp83xsqa" path="res://assets/coin/coin-frame-11.png" id="11_yep1m"]
[sub_resource type="SpriteFrames" id="SpriteFrames_njx07"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_v3uby")
}, {
"duration": 1.0,
"texture": ExtResource("2_y6puj")
}, {
"duration": 1.0,
"texture": ExtResource("3_4wplg")
}, {
"duration": 1.0,
"texture": ExtResource("4_a6xkk")
}, {
"duration": 1.0,
"texture": ExtResource("5_lnmy3")
}, {
"duration": 1.0,
"texture": ExtResource("6_21887")
}, {
"duration": 1.0,
"texture": ExtResource("7_pbi2g")
}, {
"duration": 1.0,
"texture": ExtResource("8_dc8k3")
}, {
"duration": 1.0,
"texture": ExtResource("9_2m7yb")
}, {
"duration": 1.0,
"texture": ExtResource("10_hr6in")
}, {
"duration": 1.0,
"texture": ExtResource("11_yep1m")
}],
"loop": false,
"name": &"default",
"speed": 12.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_lex3t"]
radius = 20.0
[node name="Coin" type="Area2D" groups=["coin"]]
priority = 1
script = ExtResource("1_d1ml5")
metadata/_edit_group_ = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
scale = Vector2(0.4, 0.4)
sprite_frames = SubResource("SpriteFrames_njx07")
autoplay = "default"
frame = 4
frame_progress = 0.048859
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_lex3t")
[node name="Timer" type="Timer" parent="."]
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="tree_entered" from="." to="." method="_on_tree_entered"]
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]