balance boss
This commit is contained in:
parent
0eea9e8cca
commit
e7a171bc1a
3 changed files with 8 additions and 9 deletions
2
tar.gd
2
tar.gd
|
@ -28,7 +28,7 @@ func _ready():
|
|||
|
||||
func _physics_process(delta):
|
||||
if phase2_active:
|
||||
apply_central_force((global_position - player.global_position).normalized() * -1600)
|
||||
apply_central_force((global_position - player.global_position).normalized() * -1600 * (player.speed / 1000))
|
||||
|
||||
func phase():
|
||||
if phase2_active:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue