Fixed turret rotation for y-wing, added test function for attacking, do not run as asset for blaster bolts is not added it WILL Crash!

This commit is contained in:
zerothelootrat
2024-06-05 05:31:51 -04:00
parent f8a23dbd96
commit 7f061935af
3 changed files with 23 additions and 5 deletions

View File

@@ -54,14 +54,18 @@ position = Vector2(0, 21)
position = Vector2(0, -1)
target_position = Vector2(-1, 873)
collision_mask = 11
collide_with_areas = true
[node name="refire_timer1" type="Timer" parent="."]
wait_time = 5.0
[node name="refire_timer2" type="Timer" parent="."]
wait_time = 5.0
[node name="death_timer" type="Timer" parent="."]
wait_time = 0.5
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="timeout" from="refire_timer1" to="." method="_on_refire_timer_1_timeout"]
[connection signal="timeout" from="refire_timer2" to="." method="_on_refire_timer_2_timeout"]
[connection signal="timeout" from="death_timer" to="." method="_on_death_timer_timeout"]