
[ad_1]
Say I’ve a recreation operating at some variety of frames per second on a 60 Hz monitor. I want to show my frames appropriately within the sense that the in-game time distinction between two consecutive displayed frames stays fixed (e.g. 1/60 seconds). Now the allowed body charges are 30, 60, 120 and so on., and an apparent resolution could be to allow vsync. However, with vsync enabled, the delta occasions will not be actual multiples of 1/60 seconds, which implies that I can not technically use them if I would like the proper body sequence. Instead, I would want to make the code explicitly depending on the refresh fee. Is this even one thing to fret about, or ought to I simply belief that the delta occasions are shut sufficient? What if I take advantage of uncapped fps and the fps is excessive sufficient, ought to I then fear about fluctuations in elapsed in-game occasions between monitor refreshes?
[ad_2]