+1 vote

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://godotengine.org/qa/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?

asked Sep 7, 2018 in Engine by popon2 (61 points)

1 Answer

+2 votes
Best answer

Look here: http://docs.godotengine.org/en/3.0/classes/class_os.html#class-os-get-ticks-msec

There is this function: get_ticks_msec()

Maybe it will suit Your needs.

answered Sep 7, 2018 by kozaluss (231 points)
selected Sep 7, 2018 by popon2

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…

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.