Added railgun textures

This commit is contained in:
2025-11-23 17:46:57 +03:00
parent 6c142dd695
commit a6185d7ce1
14 changed files with 241 additions and 74 deletions
-6
View File
@@ -81,12 +81,6 @@ func shoot(weapon_index: int) -> void:
_weapons[weapon_index].shoot(velocity)
func reload(weapon_index: int) -> void:
if weapon_index >= _weapons.size(): return
_weapons[weapon_index].reload()
func _get_new_speed(accel: float, decel: float, current_speed: float) -> float:
if is_zero_approx(accel):
if absf(current_speed) < decel: