diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-05-01 09:41:02 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-05-01 09:41:02 +0200 |
commit | d192b1546ab39180cdc28d2621c117539e3d26d6 (patch) | |
tree | bfe040b5fa56aab1cf1161aab4883ba6ca3510df /Scenes/Entities/Enemies/Flower.tscn | |
parent | 81cc6f1d22677dd4a60aa9377c91b291bf10e523 (diff) |
update
Diffstat (limited to 'Scenes/Entities/Enemies/Flower.tscn')
-rw-r--r-- | Scenes/Entities/Enemies/Flower.tscn | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/Scenes/Entities/Enemies/Flower.tscn b/Scenes/Entities/Enemies/Flower.tscn new file mode 100644 index 0000000..71f61e9 --- /dev/null +++ b/Scenes/Entities/Enemies/Flower.tscn @@ -0,0 +1,126 @@ +[gd_scene load_steps=22 format=3 uid="uid://dvxwc0lvwh0pi"] + +[ext_resource type="Script" path="res://Scenes/Entities/Enemies/Flower.gd" id="1_0uei7"] +[ext_resource type="Texture2D" uid="uid://db43umele3i0n" path="res://Assets/Enemies/Flower_death.png" id="2_j1q7v"] +[ext_resource type="Texture2D" uid="uid://cpl4n4jmgiwrv" path="res://Assets/Enemies/Enemy_death_01_01.png" id="3_wopor"] +[ext_resource type="Texture2D" uid="uid://d2gk5amafhctu" path="res://Assets/Enemies/Enemy_death_01_02.png" id="4_i6ewr"] +[ext_resource type="Texture2D" uid="uid://dqwxq3g3aph4i" path="res://Assets/Enemies/Enemy_death_01_03.png" id="5_3shgr"] +[ext_resource type="Texture2D" uid="uid://uoj5222vlq8q" path="res://Assets/Enemies/Enemy_death_01_04.png" id="6_pw71b"] +[ext_resource type="Texture2D" uid="uid://cxx2vv1ohiw07" path="res://Assets/Enemies/Enemy_death_01_05.png" id="7_wypb7"] +[ext_resource type="Texture2D" uid="uid://bgyp0iqatf2o0" path="res://Assets/Enemies/Flower_body_02.png" id="8_d8hoi"] +[ext_resource type="Texture2D" uid="uid://c31y7nll8ld3m" path="res://Assets/Enemies/Flower_body_01.png" id="9_v1055"] +[ext_resource type="Texture2D" uid="uid://cujhdc04p5cbp" path="res://Assets/Enemies/Flower_head_2_01.png" id="10_netfh"] +[ext_resource type="Texture2D" uid="uid://dvyhfd6mdokmk" path="res://Assets/Enemies/Flower_head_2_02.png" id="11_ygolp"] +[ext_resource type="Texture2D" uid="uid://3fldnmw8r5su" path="res://Assets/Enemies/Flower_head_2_03.png" id="12_xe8f4"] +[ext_resource type="Texture2D" uid="uid://djm5688x6wwfy" path="res://Assets/Enemies/Flower_head_2_04.png" id="13_yduun"] +[ext_resource type="Texture2D" uid="uid://bix8yc8hfgiom" path="res://Assets/Enemies/Flower_head_2_05.png" id="14_l0rh6"] +[ext_resource type="Texture2D" uid="uid://dq67dc5chscm5" path="res://Assets/Enemies/Flower_head_2_06.png" id="15_5rbtl"] +[ext_resource type="Texture2D" uid="uid://blhxiqe538btd" path="res://Assets/Enemies/Flower_head_2_07.png" id="16_12lar"] +[ext_resource type="PackedScene" uid="uid://ce3vv2pod6auc" path="res://Scenes/Entities/Enemies/Components/Collision.tscn" id="17_ie8xg"] +[ext_resource type="PackedScene" uid="uid://b3i372vgdbxk" path="res://Scenes/Entities/Enemies/Components/Health.tscn" id="18_j2oh0"] + +[sub_resource type="SpriteFrames" id="SpriteFrames_fjxcc"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("2_j1q7v") +}], +"loop": false, +"name": &"death", +"speed": 1.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": ExtResource("3_wopor") +}, { +"duration": 1.0, +"texture": ExtResource("4_i6ewr") +}, { +"duration": 1.0, +"texture": ExtResource("5_3shgr") +}, { +"duration": 1.0, +"texture": ExtResource("6_pw71b") +}, { +"duration": 1.0, +"texture": ExtResource("7_wypb7") +}], +"loop": false, +"name": &"death_post", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": ExtResource("8_d8hoi") +}, { +"duration": 1.0, +"texture": ExtResource("9_v1055") +}], +"loop": true, +"name": &"default", +"speed": 3.0 +}] + +[sub_resource type="SpriteFrames" id="SpriteFrames_sokwy"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("10_netfh") +}, { +"duration": 1.0, +"texture": ExtResource("11_ygolp") +}, { +"duration": 1.0, +"texture": ExtResource("12_xe8f4") +}, { +"duration": 1.0, +"texture": ExtResource("13_yduun") +}, { +"duration": 1.0, +"texture": ExtResource("14_l0rh6") +}, { +"duration": 1.0, +"texture": ExtResource("15_5rbtl") +}, { +"duration": 1.0, +"texture": ExtResource("16_12lar") +}], +"loop": false, +"name": &"default", +"speed": 6.0 +}] + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_tq41g"] +radius = 6.0 +height = 22.0 + +[node name="Flower" type="CharacterBody2D"] +collision_layer = 0 +collision_mask = 184 +script = ExtResource("1_0uei7") + +[node name="Body" type="Node2D" parent="."] +metadata/_edit_group_ = true + +[node name="Bottom" type="AnimatedSprite2D" parent="Body"] +texture_filter = 1 +sprite_frames = SubResource("SpriteFrames_fjxcc") + +[node name="Top" type="AnimatedSprite2D" parent="Body"] +texture_filter = 1 +position = Vector2(0, -8) +sprite_frames = SubResource("SpriteFrames_sokwy") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2(0, -6) +shape = SubResource("CapsuleShape2D_tq41g") + +[node name="Collision" parent="." instance=ExtResource("17_ie8xg")] +entityPath = NodePath("..") +collision_shape_path = NodePath("../CollisionShape2D") +component_health_path = NodePath("../Health") + +[node name="Health" parent="." instance=ExtResource("18_j2oh0")] +entityPath = NodePath("..") +spritePath = NodePath("../Body/Bottom") +health = 1 |