Fix brick throwing, add enemy death

This commit is contained in:
2025-01-05 06:41:53 +01:00
parent 5b558f9c3b
commit 697a9b7deb
44 changed files with 1061 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ extends Node2D
@export var player_controller: PlayerController
func _process(_delta: float) -> void:
var velocity = player_controller.velocity
var velocity := player_controller.last_direction
if velocity.x < 0:
eye_left.frame = 1
eye_right.frame = 1