Reputation: 151
I know how to use tiled maps (.tmx files) with cocos2d. But I want to use it without Cocos2d. Can i do that? If yes, How?
Upvotes: 1
Views: 182
Reputation: 385590
The TMX
file format is documented in the Tiled wiki. It's an XML-based format. iOS comes with two XML parsers to choose from:
The event-driven NSXMLParser
class, also discussed in the Event-Driven XML Programming Guide.
libxml2
, which has both event-driven and parse-tree-producing interfaces, and is documented at its own web site.
Upvotes: 1