This commit is contained in:
ultrablob 2024-04-30 15:37:00 -04:00
parent f7d034147d
commit 57e3151019
15 changed files with 92 additions and 46 deletions

4
tar.gd
View file

@ -2,7 +2,7 @@ extends RigidBody2D
var phase2_active = false
var health = 10
var spawn_remaining = 5
var spawn_remaining = 10
@onready var player = $"../Player"
func hit(body):
@ -25,7 +25,7 @@ func _ready():
func _physics_process(delta):
if phase2_active:
apply_central_force((global_position - player.global_position).normalized() * -1700)
apply_central_force((global_position - player.global_position).normalized() * -1600)
func phase():
if phase2_active: