Fix collider and add waves

This commit is contained in:
DerTyp7
2023-09-20 16:45:48 +02:00
parent 12cf356951
commit 1eaae06040
7 changed files with 99 additions and 14 deletions

View File

@@ -11,6 +11,7 @@ size = Vector2(0.203555, 2.52986)
[node name="Enemy" type="CharacterBody2D"]
script = ExtResource("1_cnaxx")
metadata/dead = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_aukek")
@@ -22,9 +23,9 @@ texture = ExtResource("1_026jc")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(-2.38419e-07, 0)
position = Vector2(1.19209e-07, 5.96046e-08)
rotation = -3.14159
scale = Vector2(58.952, -4.74335)
shape = SubResource("RectangleShape2D_53hbt")
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]