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
|
[gd_scene load_steps=14 format=3 uid="uid://dadno88dlu3eq"]
[ext_resource type="Texture2D" uid="uid://o4p83pk1n66t" path="res://Assets/Characters/Pidgin/Fall1.png" id="1"]
[ext_resource type="Texture2D" uid="uid://rrfag5dhfel7" path="res://Assets/Characters/Pidgin/Slide.png" id="2"]
[ext_resource type="Texture2D" uid="uid://dbp26y6efrkda" path="res://Assets/Characters/Pidgin/Fall2.png" id="3"]
[ext_resource type="Texture2D" uid="uid://dmn06w00ol0tv" path="res://Assets/Characters/Pidgin/Back.png" id="4"]
[ext_resource type="Texture2D" uid="uid://gbcntftexor7" path="res://Assets/Characters/Pidgin/Fall1Wings.png" id="5"]
[ext_resource type="Texture2D" uid="uid://t7c0desi04ra" path="res://Assets/Characters/Pidgin/Wall.png" id="6"]
[ext_resource type="Texture2D" uid="uid://bkfn8al2da6si" path="res://Assets/Characters/Pidgin/Jump.png" id="7"]
[ext_resource type="Texture2D" uid="uid://cqyoyj6d4dkah" path="res://Assets/Characters/Pidgin/Walk2.png" id="8"]
[ext_resource type="Script" path="res://Characters/Dove.gd" id="9"]
[ext_resource type="Texture2D" uid="uid://cnuotyqgyqplm" path="res://Assets/Characters/Pidgin/Front.png" id="10"]
[ext_resource type="Texture2D" uid="uid://d8167647lwsv" path="res://Assets/Characters/Pidgin/Walk1.png" id="11"]
[sub_resource type="SpriteFrames" id="1"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4")
}],
"loop": true,
"name": &"back",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("1")
}],
"loop": true,
"name": &"fall",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("5")
}],
"loop": false,
"name": &"fall_stop",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("3")
}],
"loop": true,
"name": &"fall_stop_landing",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("10")
}],
"loop": true,
"name": &"idle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("7")
}],
"loop": true,
"name": &"jump",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("2")
}],
"loop": true,
"name": &"run",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("11")
}, {
"duration": 1.0,
"texture": ExtResource("8")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("6")
}],
"loop": true,
"name": &"wall",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="2"]
size = Vector2(12, 19)
[node name="Dove" type="CharacterBody2D"]
collision_mask = 15
script = ExtResource("9")
[node name="Sprite2D" type="AnimatedSprite2D" parent="."]
scale = Vector2(0.7, 0.7)
sprite_frames = SubResource("1")
animation = &"idle"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(2.38419e-07, 0.5)
shape = SubResource("2")
[node name="CheckFallStop" type="RayCast2D" parent="."]
target_position = Vector2(0, 150)
[node name="CheckFallLanding" type="RayCast2D" parent="."]
|