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
124
125
126
127
128
129
130
131
132
|
[gd_scene load_steps=20 format=3 uid="uid://ccolri3egf8rk"]
[ext_resource type="Script" path="res://Scenes/Entities/Enemies/Balloon.gd" id="1_8q3w8"]
[ext_resource type="Texture2D" uid="uid://ck1sxw5vqhoa" path="res://Assets/Enemies/Balloon_death_2.png" id="2_c4j5c"]
[ext_resource type="Texture2D" uid="uid://b1mr0hh682o5o" path="res://Assets/Enemies/Balloon_down_2_01.png" id="3_pcii7"]
[ext_resource type="Texture2D" uid="uid://bqjxycrl7qh2s" path="res://Assets/Enemies/Balloon_down_2_02.png" id="4_3eanq"]
[ext_resource type="Texture2D" uid="uid://ciku28v7q6a2q" path="res://Assets/Enemies/Balloon_down_2_03.png" id="5_vhsnp"]
[ext_resource type="Texture2D" uid="uid://di8wp5yyn36uj" path="res://Assets/Enemies/Balloon_left_2_01.png" id="6_ykdih"]
[ext_resource type="Texture2D" uid="uid://c0qju385rrnvv" path="res://Assets/Enemies/Balloon_left_2_02.png" id="7_81kws"]
[ext_resource type="Texture2D" uid="uid://bgjm6vhpdxgbe" path="res://Assets/Enemies/Balloon_left_2_03.png" id="8_7eum3"]
[ext_resource type="Texture2D" uid="uid://cjqjq1ppdhoxe" path="res://Assets/Enemies/Balloon_right_2_01.png" id="9_doy2d"]
[ext_resource type="Texture2D" uid="uid://dmsxbrwqju44n" path="res://Assets/Enemies/Balloon_right_2_02.png" id="10_xyola"]
[ext_resource type="Texture2D" uid="uid://ci21n2unmik6w" path="res://Assets/Enemies/Balloon_right_2_03.png" id="11_y5de8"]
[ext_resource type="Texture2D" uid="uid://w7jyuri324sv" path="res://Assets/Enemies/Balloon_up_2_01.png" id="12_jhcfp"]
[ext_resource type="Texture2D" uid="uid://dts0ofiyjlxfe" path="res://Assets/Enemies/Balloon_up_2_02.png" id="13_8valq"]
[ext_resource type="Texture2D" uid="uid://u56kfb4hq87o" path="res://Assets/Enemies/Balloon_up_2_03.png" id="14_757al"]
[ext_resource type="PackedScene" uid="uid://cq7yj2av01tqd" path="res://Scenes/Entities/Enemies/Components/Movement.tscn" id="15_fwetl"]
[ext_resource type="PackedScene" uid="uid://ce3vv2pod6auc" path="res://Scenes/Entities/Enemies/Components/Collision.tscn" id="16_yau34"]
[ext_resource type="PackedScene" uid="uid://b3i372vgdbxk" path="res://Scenes/Entities/Enemies/Components/Health.tscn" id="17_d8phm"]
[sub_resource type="SpriteFrames" id="SpriteFrames_nxaqi"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_c4j5c")
}],
"loop": false,
"name": &"death",
"speed": 1.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_pcii7")
}, {
"duration": 1.0,
"texture": ExtResource("4_3eanq")
}, {
"duration": 1.0,
"texture": ExtResource("3_pcii7")
}, {
"duration": 1.0,
"texture": ExtResource("5_vhsnp")
}],
"loop": true,
"name": &"down",
"speed": 6.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("6_ykdih")
}, {
"duration": 1.0,
"texture": ExtResource("7_81kws")
}, {
"duration": 1.0,
"texture": ExtResource("6_ykdih")
}, {
"duration": 1.0,
"texture": ExtResource("8_7eum3")
}],
"loop": true,
"name": &"left",
"speed": 6.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("9_doy2d")
}, {
"duration": 1.0,
"texture": ExtResource("10_xyola")
}, {
"duration": 1.0,
"texture": ExtResource("9_doy2d")
}, {
"duration": 1.0,
"texture": ExtResource("11_y5de8")
}],
"loop": true,
"name": &"right",
"speed": 6.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("12_jhcfp")
}, {
"duration": 1.0,
"texture": ExtResource("13_8valq")
}, {
"duration": 1.0,
"texture": ExtResource("12_jhcfp")
}, {
"duration": 1.0,
"texture": ExtResource("14_757al")
}],
"loop": true,
"name": &"up",
"speed": 6.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_abul4"]
radius = 6.0
height = 15.0
[node name="Balloon" type="CharacterBody2D"]
collision_layer = 16
collision_mask = 188
motion_mode = 1
script = ExtResource("1_8q3w8")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_nxaqi")
animation = &"down"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -1)
shape = SubResource("CapsuleShape2D_abul4")
[node name="Movement" parent="." instance=ExtResource("15_fwetl")]
entityPath = NodePath("..")
spritePath = NodePath("../AnimatedSprite2D")
SPEED = 10
timer_time = 10.0
[node name="Collision" parent="." instance=ExtResource("16_yau34")]
entityPath = NodePath("..")
collision_shape_path = NodePath("../CollisionShape2D")
component_health_path = NodePath("../Health")
[node name="Health" parent="." instance=ExtResource("17_d8phm")]
entityPath = NodePath("..")
spritePath = NodePath("../AnimatedSprite2D")
health = 1
|