So I changed all references for ElementTree to cElementTree in cocos 
tiles.py and it is a lot faster, but I still get a memory error. I think I 
will try to write my own class to parse the xml.

Basically, if I generate the 2.5 million tiles using the methods cocos 
provides for RectCell, Tile, and RectMapLayer, it works. I can scroll and 
everything works fine. But if I write the data to xml using my own class, 
and then load that file 
using cocos.tiles.load('terrain.xml')['maptemplate'], then I receive a 
memory error. 

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cocos-discuss.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to