Hello,
We are creating a maze type game with a lot of 48x48 tiles. The levels are generated by an array of numbers that are translated into display objects.
I’m having trouble with memory usage in the larger levels. The culprit seems to be that I’m calling the display.newImage() method a lot of times (like over 2000 on some levels) during the construction.
This is the memory usage of a small level (21x21):
MemUsage: 160.912109375
TexMem: 6.146048
And this is the memory usage of a large level (48x48):
MemUsage: 354.779296875
TexMem: 6.162432
Is there any way to do partial rendering (i.e. only drawing the objects that intersect with the “camera” object group), or am I missing some other obvious solution for handling big levels like that? It’s not so obvious when the rendering features are hidden so far away in Corona 
Thanks in advance.
I am new to the Corona community, but loving it already
[import]uid: 117153 topic_id: 22187 reply_id: 322187[/import]