Improved attack animation

This commit is contained in:
2024-02-13 11:56:04 +01:00
parent 38133969fc
commit 7347c85ca7
5 changed files with 31 additions and 3 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://cb2t7bvvf3gwh"]
[gd_scene load_steps=13 format=3 uid="uid://cb2t7bvvf3gwh"]
[ext_resource type="PackedScene" uid="uid://b358op5h1y83m" path="res://assets/slime/Slime.blend" id="1_1h1hj"]
[ext_resource type="Script" path="res://enemy/Enemy.gd" id="1_r5888"]
@ -7,6 +7,7 @@
[ext_resource type="PackedScene" uid="uid://6jpnl6c4fdvo" path="res://player/hud/HUDComponent.tscn" id="3_4jtio"]
[ext_resource type="PackedScene" uid="uid://bfvudkup0xsq4" path="res://enemy/loot/LootComponent.tscn" id="6_68kgw"]
[ext_resource type="PackedScene" uid="uid://dl4vcp04t8iyr" path="res://item/soul/Soul.tscn" id="7_i0rtb"]
[ext_resource type="Script" path="res://controller/EnemyController.gd" id="8_b7r6l"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ub3kk"]
height = 0.5
@ -66,7 +67,11 @@ autoplay = "slime_idle"
max_value = 100.0
[node name="Movement" parent="." instance=ExtResource("3_2phqx")]
move_speed = 0.5
[node name="Loot" parent="." node_paths=PackedStringArray("health") instance=ExtResource("6_68kgw")]
health = NodePath("../Health")
drop = ExtResource("7_i0rtb")
[node name="EnemyController" type="Node" parent="."]
script = ExtResource("8_b7r6l")