edited enemy_ywing scene: timers for refire of main guns, death timer for spawning loot, and raycast to confirm angle is intersecting player before firing

This commit is contained in:
zerothelootrat
2024-06-04 22:46:42 -04:00
parent b18128e6d2
commit eb7bca8ad2
2 changed files with 10 additions and 23 deletions

View File

@@ -40,3 +40,13 @@ offset = Vector2(0, 5.2)
[node name="turret_muzzle" type="Marker2D" parent="Turret"]
position = Vector2(0, 21)
[node name="target_confirm" type="RayCast2D" parent="Turret"]
target_position = Vector2(-1, 873)
[node name="refire_timer1" type="Timer" parent="."]
[node name="refire_timer2" type="Timer" parent="."]
[node name="death_timer" type="Timer" parent="."]
wait_time = 0.5