manual merge

This commit is contained in:
Clevertop 2024-09-27 17:15:11 +10:00
parent a2772f9147
commit 2a35d1236d
15 changed files with 695 additions and 142 deletions

View file

@ -1,10 +1,17 @@
extends ProgressBar
@export var speed : float = 2
@export var target_value : float
func _ready():
max_value = 60000
func _process(delta: float) -> void:
value = lerp(value, 100.0, speed * delta)
value = lerp(value, target_value, speed * delta)
func _on_visibility_changed() -> void:
if visible:
value = 0
$Timer.start(0)
func _on_timer_timeout() -> void:
value = 0