level + enemy spawner refactor
This commit is contained in:
parent
ebdb9c7074
commit
2cc3eaa859
15 changed files with 942 additions and 93 deletions
|
|
@ -16,6 +16,7 @@ func _physics_process(delta: float) -> void:
|
|||
move_and_slide()
|
||||
|
||||
rotation.y = Vector2(velocity.x, -velocity.z).angle()
|
||||
position.y = 0.01
|
||||
|
||||
func hit(_proj: PlayerProjectile, damage: float) -> bool:
|
||||
health -= damage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue