-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathregular_fish.tscn
48 lines (38 loc) · 1.48 KB
/
regular_fish.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
[gd_scene load_steps=6 format=3 uid="uid://bc2qqe8a5iq8f"]
[ext_resource type="Script" path="res://scripts/fish.gd" id="1_jpi7e"]
[ext_resource type="Texture2D" uid="uid://e5nsio7eg3e0" path="res://art/peznormalito_right.png" id="2_o212v"]
[ext_resource type="Texture2D" uid="uid://b1f70bms5nhh5" path="res://art/peznormalito_left.png" id="3_ustpc"]
[sub_resource type="SpriteFrames" id="SpriteFrames_uooc6"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_o212v")
}, {
"duration": 1.0,
"texture": ExtResource("3_ustpc")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_50gm8"]
size = Vector2(30, 30)
[node name="RegularFish" type="Area2D"]
script = ExtResource("1_jpi7e")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(0, 1)
scale = Vector2(0.143199, 0.143199)
sprite_frames = SubResource("SpriteFrames_uooc6")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_50gm8")
[node name="Node" type="Node" parent="."]
[node name="shadow" type="AnimatedSprite2D" parent="Node"]
visible = false
modulate = Color(0.14902, 0.14902, 0.14902, 1)
show_behind_parent = true
z_index = -2120
position = Vector2(1, 4.76837e-07)
scale = Vector2(0.095, 0.095)
sprite_frames = SubResource("SpriteFrames_uooc6")
[node name="animTimer" type="Timer" parent="."]
[connection signal="timeout" from="animTimer" to="." method="_on_anim_timer_timeoutn"]