I created a small and simple game on iOS. I have problem with LAG from time to time - when i start game i can see a little "lag" and this "lag" shows up from time to time. I read a guide on Clickteam community about better performance and i used some solution like:
- don't use alpha channel (i used transparent)
- use resolution 320x480 (it's my resolution)
- use pixel art graphic
- graphic ( i have big graphics objects because it is a map - size: 320x480)
I used a lot of graphics but at the same time i used max. 2 graphics ( i have event - when counter = XX then create object XX ). My graphic size is 320x480 (1 object) but when the object is too far from frame then it is destroyed. On the runtime i have only 20-22 object like counters , my character etc. I used event -> always SET framerate as counter... and i see in my real device what is actual frame rate. On my game frame rate is about 61-62 fps. Ok, FPS looks good but what is wrong with LAG ? Where i can find solution ?