Hi - I was displaying some images with [image]=display.newImage, but have now replaced all of these with spritesheets.
My code still has references to:
[image]:removeSelf() [image]=nil
Should I remove these, and then just dispose of the overall spritesheet when finished with? I’m presuming you can’t / there’s no point in trying to remove/tidy up individual sprites?
((For info: when I generate a build, it doesn’t seem to cause any problems, but I don’t think the ‘removeSelf’ code releases any texture memory.))
So, should I just replace my ‘removeSelf’ code with isVisible=false, and then dispose / garbage collect later?
Any thoughts / advice? Thanks in advance,
Dave. [import]uid: 82595 topic_id: 20743 reply_id: 320743[/import]
[import]uid: 84637 topic_id: 20743 reply_id: 81509[/import]