Hey Jasil, it’s hard to give you a concrete solution about this and there isn’t any codes which we can look into. I too have the same problem of my sprites taking too much memory because i tried to load them all at once.
To answer your question: yes you can load spritesheet on runtime but i do my entire level with code and not level helper. You can load them 1 at a time but you will need to dispose the spritesheet when they are no longer in use.
Since you are using level helper i do have a suggestion which might help. Only load those sprites that you absolutely need for that level from level helper and save it out. Suppose for the entire game you have enemy 1, 2, 3 but will only see enemy 1 at level 1 then just load the enemy 1 spritesheet into the level and leave the rest out. Same goes for objects and other stuff. I am not exactly sure how level helper work but i believe they save a level into a lua file which can be used as a module.
Level Helper might also have some options which you didn’t know of or they might allow new level creation so that sprites that are needed can load on that level only. You could go to level helper’s forum to ask around as well.
It isn’t exactly a solution but hope this provides an idea of what to do next. If not, just post more questions and let’s see if we can figure this out. [import]uid: 39846 topic_id: 24943 reply_id: 101553[/import]