added sword cursor
This commit is contained in:
@@ -20,6 +20,9 @@ const STAMINA_REGEN_RATE = 10.0
|
||||
const DODGE_STAMINA_COST = 30.0
|
||||
const ATTACK_STAMINA_COST = 10.0
|
||||
|
||||
func _ready() -> void:
|
||||
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
stamina_regen(delta)
|
||||
move_and_slide()
|
||||
|
||||
Reference in New Issue
Block a user