Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


ANSI C and Tiled TMX integration?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 DrNicholas   Members   -  Reputation: 130

Like
0Likes
Like

Posted 17 June 2014 - 04:19 PM

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, 17 June 2014 - 10:35 PM.


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS