R
Roscoe.Zhao
Guest
Hi,
I'm making an interactive grided background:
it runs smoothly for about 10 seconds, then fps start to drop,
the debug overlay shows the draw event is taking quite long time,
in the draw event, draw_line() is called about 2100 times per frame, I wonder how can I increase the performance?
(I'm using YYC compiler)
Also, I curious why everytime I run it, the first 10~15 secs is always very smooth ,fps_real can upto 300~500, but then fps start to drop dramaticlly?
I'm making an interactive grided background:
it runs smoothly for about 10 seconds, then fps start to drop,
the debug overlay shows the draw event is taking quite long time,
in the draw event, draw_line() is called about 2100 times per frame, I wonder how can I increase the performance?
(I'm using YYC compiler)
Also, I curious why everytime I run it, the first 10~15 secs is always very smooth ,fps_real can upto 300~500, but then fps start to drop dramaticlly?