added controller support and attack

This commit is contained in:
2025-06-25 21:47:22 -05:00
parent 60432795f2
commit 36cde498e0
8 changed files with 103 additions and 20 deletions

View File

@@ -14,10 +14,11 @@ var health = MAX_HEALTH
const MAX_STAMINA : float = 100
var stamina = MAX_STAMINA
const STAMINA_REGEN_RATE = 10.0
## Gameplay Settings
const STAMINA_REGEN_RATE = 10.0
const DODGE_STAMINA_COST = 30.0
const ATTACK_STAMINA_COST = 10.0
func _physics_process(delta: float) -> void:
stamina_regen(delta)