Sign in to follow this  

ANSI C and Tiled TMX integration?

This topic is 1279 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

 

I am now making myself something that tells me the contents of a .tmx file. I am using GNU ANSI C and libxml2 for this one. I took a look at these:

http://alexdantas.net/stuff/posts/quickly-parsing-tileds-tmx-maps-in-c-cpp/

http://gamedevelopment.tutsplus.com/tutorials/parsing-and-rendering-tiled-tmx-format-maps-in-your-own-game-engine--gamedev-3104

and I don't have much to say on the second one, the first one says it's for C, but it isn't. I couldn't get TinyXML working in ansi c, and in the link inside it that leads to a tmx parser, I see no way of downloading it.

 

Do you know of anywhere that might have documentation on libxml2 and tiled .tmx files? Thanks

 

On the side note, I remember having the java version of tiled, but I don't have it anymore. I know it's a bit older, but if someone has it would they be so kind as to share it? I can't find it anywhere on the net.

 

EDIT:

http://www.developer.com/xml/article.php/3729826/Libxml2-Everything-You-Need-in-an-XML-Library.htm

this helps a teeny-tiny bit, at least I know how to have the file read and have some parts printed to console, but I will have to do alot of experimenting

Edited by DrNicholas

Share this post


Link to post
Share on other sites

This topic is 1279 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this