Cleaned up resource defaults and names; path references.
This commit is contained in:
parent
d0664a87fa
commit
2c2b23f0bb
5 changed files with 6 additions and 5 deletions
|
|
@ -26,6 +26,7 @@ func shoot():
|
|||
|
||||
# Calculate horizontal offset for this bullet (symmetrical: left=-ve, right=+ve)
|
||||
var bullet_horizontal_offset: float = index_from_center * weapon_data.horizontal_offset
|
||||
print("horizontal_offset: ", weapon_data.horizontal_offset, " index: ", index_from_center, " result: ", bullet_horizontal_offset)
|
||||
|
||||
# Calculate vertical offset from center point (symmetrical vertical spread)
|
||||
var distance_from_center: float = abs(index_from_center)
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ extends Resource
|
|||
|
||||
@export_category("Spread")
|
||||
@export var horizontal_offset: float = 6.5 # Horizontal distance between projectiles
|
||||
@export var stagger_offset: float = 0.1 # Time delay per projectile index
|
||||
@export var stagger_offset: float = 0.25 # Time delay per projectile index
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue