added behavior trees!
This commit is contained in:
parent
4d0ad13bf3
commit
d362d93b12
9 changed files with 510 additions and 197 deletions
|
|
@ -8,6 +8,7 @@
|
|||
size = Vector2(34, 2)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_feb5d"]
|
||||
radius = 6.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_lyo8d"]
|
||||
radius = 60.0
|
||||
|
|
@ -80,6 +81,7 @@ tracks/1/keys = {
|
|||
|
||||
[sub_resource type="Animation" id="Animation_1i6dk"]
|
||||
resource_name = "prepare_attack"
|
||||
length = 24.000010357628017
|
||||
step = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
|
|
@ -178,7 +180,6 @@ _data = {
|
|||
collision_layer = 4
|
||||
collision_mask = 65
|
||||
script = ExtResource("1_lyo8d")
|
||||
AttackDistance = 45.0
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Body" type="AnimatedSprite2D" parent="." unique_id=581143480]
|
||||
|
|
@ -190,14 +191,13 @@ offset = Vector2(9, -4)
|
|||
|
||||
[node name="StabHitbox" type="Area2D" parent="Body" unique_id=1373491990]
|
||||
unique_name_in_owner = true
|
||||
process_mode = 4
|
||||
visible = false
|
||||
position = Vector2(20, 9)
|
||||
collision_layer = 16
|
||||
collision_mask = 2
|
||||
script = ExtResource("3_bu42x")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Body/StabHitbox" unique_id=1331922714]
|
||||
position = Vector2(19, 9)
|
||||
shape = SubResource("RectangleShape2D_8bh2b")
|
||||
debug_color = Color(0.99607843, 0, 0.23137255, 0.41960785)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue