mirror of
https://github.com/DerTyp7/TopDownShooter-Godot.git
synced 2025-10-29 12:52:13 +01:00
Fix collider and add waves
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user