HI, I was wondering if someone could explain how I can remove previous sprite animations from memory. I currently have 4 image sheets that I am using with about 30 frames per image sheet. As the animation plays from the first image sheet to the fourth image sheet, I would like to remove the previous sequence from memory so I can make space for the subsequent animations in the other image sheets. It currently works great in the simulator but the second I open up the app on my mini, the game crashes right away. I took a look at the Xcode console and it spits stuff out about a “saved crash report to…” and something about “low memory.” Any body have any idea how I can fix this? I messed around a little with the display.remove API but didn’t have any luck, maybe I wasn’t putting it in the right place. Any help would be greatly appreciated!
Unfortunately, if using image sheets, you cannot remove it as display object. You can only remove sprite object using it but not sheet itself
Unfortunately, if using image sheets, you cannot remove it as display object. You can only remove sprite object using it but not sheet itself