diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-04-14 21:49:20 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-04-14 21:49:20 +0200 |
commit | f27937e6e9b6a7146dd09fc711d2d293ecf5abbf (patch) | |
tree | e0ddd5e6d356000e4f29af6211a736284a4972ee /Scenes/Entities/Enemies/Balloon.tscn | |
parent | 96d36cee33d6321834565f0a5d412ef95c5ceffd (diff) |
update
Diffstat (limited to 'Scenes/Entities/Enemies/Balloon.tscn')
-rw-r--r-- | Scenes/Entities/Enemies/Balloon.tscn | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/Scenes/Entities/Enemies/Balloon.tscn b/Scenes/Entities/Enemies/Balloon.tscn new file mode 100644 index 0000000..85b68c1 --- /dev/null +++ b/Scenes/Entities/Enemies/Balloon.tscn @@ -0,0 +1,123 @@ +[gd_scene load_steps=19 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"] + +[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": 2.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": 2.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": 2.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": 2.0 +}] + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_abul4"] +radius = 6.0 +height = 18.0 + +[node name="Balloon" type="CharacterBody2D"] +collision_layer = 16 +collision_mask = 62 +script = ExtResource("1_8q3w8") +health = 1 + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] +sprite_frames = SubResource("SpriteFrames_nxaqi") +animation = &"down" + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("CapsuleShape2D_abul4") + +[node name="Movement" parent="." instance=ExtResource("15_fwetl")] +entityPath = NodePath("..") +spritePath = NodePath("../AnimatedSprite2D") +SPEED = 2 + +[node name="Collision" parent="." instance=ExtResource("16_yau34")] +entityPath = NodePath("..") +collision_shape_path = NodePath("../CollisionShape2D") |