Sorry for my poor English, I hope I describe accurately.>_<

Is there any way to package images and tmx files?(tmx files also has image 
file paths in content)
It's really not pretty left them under folders.
Even zip or other method is helpful.

I found callable like 
cocos.load_tmx(filename)
cocos.load_tiles(filename)
Both these need filename instead of file-like object or string.

And in these callable
path = resource.find_file(tag.attrib['source'])
self.path = self.find_file(filename)
,also need file path to load

I try to use cPickle.dumps the cocos.tiles.Resource object what these 
callable return, but when cPickle.loads it dosen't work well.


Then I thought , is there a solution in py2exe or pyinstaller?
But I'm not good at these.Is there any solution for package these file?

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/cocos-discuss/-/lHNJ01gX6aYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to