Beginning to update weapon components
This commit is contained in:
parent
db57a0234e
commit
e3fb082139
11 changed files with 66 additions and 37 deletions
|
|
@ -6,7 +6,9 @@ extends Area2D
|
|||
|
||||
|
||||
func _process(delta):
|
||||
position.y -= shot_data.speed * delta # This works normally
|
||||
|
||||
#Calculation position along Y axis
|
||||
position.y -= shot_data.speed * delta
|
||||
|
||||
func _on_visible_on_screen_notifier_2d_screen_exited() -> void:
|
||||
queue_free()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue