A bunch of refinements on spacing and timing!

This commit is contained in:
Henry Faber 2026-06-13 17:11:55 +01:00
parent 48a2ba3ddb
commit c91f8ab31d
2 changed files with 4 additions and 3 deletions

View file

@ -36,7 +36,7 @@ func shoot():
var vertical_offset: float = (distance_from_center * weapon_data.origin * -1) / 2
# Final position combines symmetrical horizontal spread with symmetrical vertical spacing
bullet.position = player.position + Vector2(bullet_horizontal_offset, weapon_data.origin + vertical_offset)
bullet.position = player.position + Vector2(bullet_horizontal_offset, weapon_data.origin + (vertical_offset + weapon_data.origin - total_projectiles))
# Set timing properties on the bullet
bullet.time_offset = time_offset