Ship can now warp

This commit is contained in:
2024-05-13 20:31:41 -04:00
parent 914a6e4010
commit 3ad6004836
5 changed files with 40 additions and 6 deletions

View File

@ -78,6 +78,9 @@ polygon = PackedVector2Array(-3, -31, 4, -31, 32, 28, 32, 33, 28, 33, 1, 16, -24
wait_time = 0.5
one_shot = true
[node name="WarpCooldown" type="Timer" parent="."]
one_shot = true
[node name="Gun" type="Marker2D" parent="."]
position = Vector2(0, -33)
@ -95,3 +98,4 @@ libraries = {
}
[connection signal="timeout" from="ShotCooldown" to="." method="_on_shot_cooldown_timeout"]
[connection signal="timeout" from="WarpCooldown" to="." method="_on_warp_cooldown_timeout"]