Jump to content
  • Advertisement
Sign in to follow this  
NicholasLopez

ANSI C and Tiled TMX integration?

This topic is 1523 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!