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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue