Hello, I have a question about loops. I would like to know if a loop that refresh every second causes more latence in the game than a loop that refresh every 60 seconds. Thanks for your help
latency works like a threshold. Once you get passed a certain point stuff starts falling apart. As you gradually add more to your game the latency slowly goes up until a point where it explodes. So the answer depends on what you’re doing inside of the loops and how much else is going on in your game.
If its a small block inside of the loop then id say that the latency difference is almost none.
Hi, yes I know the latency gradually increases as you add scritps, parts and gui. But I also know that loops are aggravating factors in latency. And that for example a new Iphone will have a better margin before having latency than an old Iphone, each device has a different margin, also for computers. That’s why I was asking if a loop that runs every second produces the same level of latency as a loop that runs once a minute. Thank you for your answer.
TL;DR → no the one second loop introduces more latency