Thread: GetTime()
View Single Post
10-01-20, 11:56 PM   #11
KL1SK
A Murloc Raider
Join Date: Sep 2020
Posts: 9
@SDPhantom thanks for xpcall, never used such a useful feature before . And also does not eat up performance.
I decided to abandon OnUpdate in favor of C_Timer, it turned out to be a little cheaper. In addition to this, you can run multiple loops in parallel and they work great. Possibly the engine runs them in different threads, since the load does not grow proportionally. And thanks to the inversely proportional dependence on the delta-time of the frame, work on a system of different performance is simply excellent.
Probably we still need to work on smoothing the start. With very high productivity, you can get a noticeable drawdown, which is different from the working one.

Last edited by KL1SK : 10-02-20 at 12:00 AM.
  Reply With Quote