Fixed initial double shot issue; tweaked feel of weapons.
This commit is contained in:
parent
4f3839448b
commit
30619bc7c1
5 changed files with 9 additions and 9 deletions
|
|
@ -23,7 +23,7 @@ func _process(delta):
|
|||
if !is_active and current_time >= fire_time:
|
||||
activate()
|
||||
|
||||
# Move the bullet, factoring in spread angle
|
||||
# Move the bullet every frame; stagger controls visibility, not movement
|
||||
var velocity = Vector2.UP.rotated(deg_to_rad(angle)) * shot_data.speed
|
||||
position += velocity * delta
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue