godot engine stopwatch with precision milliseconds

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

Hi, is possible to create stopwatch with precision milliseconds in godot? I tried to use timer node with lowest value, but it was slower than real time. I found just this: https://forum.godotengine.org/3641/how-display-elapsed-time-in-game But i need it in milliseconds, because it is for racing game… Does anyone know how to do it?

:bust_in_silhouette: Reply From: kozaluss

Look here: OS — Godot Engine (3.0) documentation in English

There is this function: get_ticks_msec()

Maybe it will suit Your needs.

Thank You, I forgot about this, i found it in the morning and closed with hope that will be better solution. Maybe it is the best option for it…

popon2 | 2018-09-07 11:27