Hello everyone!
I’m currently developing my first FlashPunk game, and I’m having a bit of trouble. The game works fine at first, but when I go through approximately 10-11 levels, the performance starts to drop. My FPS drop from 60 to 40-30 and my memory seems to increase with each level, using more than 300MB according to the flashpunk console.
Does anyone have any tips to avoid such problems? I’m struggling to find what I’m doing wrong. Do I need to do anything special to make sure that worlds are correctly unloaded when i change them, or does flashpunk handle that for me already?
Of course, should you need more information to help, I’ll gladly provide it.