How to slowdown the timer

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Regret

if $ProgressBar.value == 100:
if s > 0 :
s-= 1
$time.show()
$time.set_text(str(s))
$ProgressBar.hide()

func _on_Timer_timeout():
s -=1
sorry my original code is a bit messy and might confuse u guys but heres my problem:
the countdown would count too fast like literally it would finish instantly.
so the plan here is that the timer would countdown from 60secs to 0

:bust_in_silhouette: Reply From: Salvakiya

you want to multiply it by your delta value… so if you are running this in your process(delta) function you want to multiply the value you are negating by delta

s-=1*delta

Thanksss you very muchh

Regret | 2019-12-07 18:40