On 16.01.2011 16:41, Aaron wrote:
I suppose I could create a Tiled (capital 't') loader for cocos2d
manually if I could just figure out how cocos2d's map features work.
As for tile sprite culling, I've heard cocos2d also uses regular
Sprites and Batches for its tiles, implying it just recreates the
batch whenever a map needs to scroll. Is this true?
Hi
Some time ago I wrote a loader for *.tmx files, maybe it is useful:
https://code.google.com/p/pytmxloader/
The included pyglet demo runs very slow (I guess due the huge number of
groups, each line it one), but I don't know how to implement it faster
and getting a correct rendering (the draw order of the tiles and layers
is important). Maybe some one could help out to write a better demo.
~DR0ID
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
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/pyglet-users?hl=en.