tmx files are only xml. Any xml parser will do. For example, xml.etree.ElementTree (from the standard library) is sufficient (that's what I use). Of course, you'll have to code your own renderer.
The collision map is usually handled as an invisible layer in the tmx file. On Monday, August 5, 2013 8:59:11 PM UTC+2, Brandon Jumbeck wrote: > > Does there happen to be a prebuilt library that would work with Pyglet to > handle tilemaps made by the Tiled Map Editor? If not any advice on what I > would need to do to handle Tiled generated tile map files. I have tried > using the Cocos2D library and its tilemap features but that library > confuses the hell out of me and can't seem to get it to work. > > For creating one I believe all all I would need to do is create a way to > parse the information from the .tmx map files and then create a collision > manager base around that information on the .tmx files? Though I could be > wrong because I have never really dealt to much with tile maps and > collision in general. > > So any help of information would be great and thanks in advance for taking > the time to help me :). > -- You received this message because you are subscribed to the Google Groups "pyglet-users" 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/pyglet-users. For more options, visit https://groups.google.com/groups/opt_out.
