Hi, I’m close to finishing my first Corona game and have noticed that as the game goes on, it progressively slows down.
I’ve done quite a bit of reading on this topic and the most common problems seem to be memory leaks, transitions and runtime listeners. I believe I have eliminated all those causes by not using transitions and carefully managing my runtime listener(s). All objects, listeners etc get removed and nil-ed when no longer in use. I confirm that this is working and that there are no memory leaks with the module found here:
https://forums.coronalabs.com/topic/50059-memory-problems-and-cant-find-it/
Memory fluctuates ever so slightly (± 0.5% range) and I check this every second. I’ve discarded the scene manager (temporarily) to make sure I have full control over when objects and listeners get removed. The game relies heavily on physics and the slow down appears on both Android and iOS. It is very reproducable, i.e. happens every time.
I’m at the stage where I’ve run out of ideas, so would appreciate any suggestions as to where I might look next. Thanks!