added attacks
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
radius = 6.0
|
||||
|
||||
[node name="Enemy" type="CharacterBody2D"]
|
||||
collision_layer = 2
|
||||
script = ExtResource("1_a6qhu")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
@@ -14,3 +15,9 @@ texture = ExtResource("2_jkluv")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_c7wcn")
|
||||
|
||||
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="."]
|
||||
target_desired_distance = 16.0
|
||||
path_postprocessing = 1
|
||||
avoidance_enabled = true
|
||||
radius = 8.0
|
||||
|
||||
Reference in New Issue
Block a user