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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user