So i was doing a game.
For some reason, it freezes for around half a second every ten seconds. This shit can easily destroy all gaming process.
So i decided to find and eliminate the issue.
At first, i tried to trace memory usage. No issue, freezes are not connected to that in any way.
Then, i limited FPS to 10. What? Drops to 7? F**k.
Oh, maybe giant background that cashed as bitmap is an issue? Nope, not gonna work.
I started to delete everything from the game, starting from platforms and even player animations. Nope, drops still happens.
I deleted the whole game loop. Like, nothing even happens. But drop still happens. F**K.
I jus