A simple question when checking a timer does it have float resolution?

So when doing this and having the variable at 2.6 does it actually take the decimal into account or does it round the value to 3 seconds (or 2) ?
Yes it does take that into account. So 2.52555 is less then 2.6
[This is based on the fact that Gdevelop uses Javascript Math libraries]
1 Like
Yes, timer events support float values for seconds.
Keep in mind that even though it can do float values for seconds, events themselves are only checked once per frame. If you have a 60 fps game, you will never exactly get 2.7 seconds, because it can only check every 16.667 ms.
1 Like
Your explanation lacks mentioning
Timers don’t have option to check equal without checking less or greater
So even so you are right
You kinda don’t have any means to soft lock yourself by checking timer via timer condition
Unless you gonna go with compare two numbers condition or using expression
2 Likes
