Tutorial Update

Well, I survived my travels and I’m back in the good old UK. I’m about to head for bed as I’m beat, but I wanted to give a small update on how the next tutorial is coming along.

The next tutorial will be on the Tile Map Class. The class is working and rendering maps created within the Tiled tool and can handle multiple layers and multiple tilesets within a single map config. I’ve had some fun and games trying to pass the XML file which is produced by Tiled. The iPhone SDK does not come with much in the way of XML support. It really only provides the NSXMLParser to parse XML files. This is what I used first time around and its as slow as hell.

Once I realised this I moved onto TouchXML which is a light weight wrapper around libxml2 which is what Apple uses behind their XML API. This was WAY quicker, but I found a problem trying to use the ‘nodesForXpath’ method on an XML Document. So after way too much time trying to track it down I tried KissXML. This is not as quick as TouchXML, but still much quicker than NSXMLParser and the xpath stuff works. Its also built on top of libxml2.

Now that its working with KissXMl I’m just adding the finishing touches to the class which will allow the properties you can set on the map, layers, tilesets and tiles to be queried using the class. Once that is done I’ll be able to record the tutorial.

At the moment I’m hoping to have it done by the end of Monday so fingers crossed and thanks for your patience.

Cheers

Mike

Share:
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis
  • Design Float
  • DZone
  • email
  • Google Bookmarks
  • LinkedIn
  • Scoopeo
  • Tumblr

6 Comments

mazebr  on May 2nd, 2009

Cool mike !!

Great to hear you are willing to continue this highly appreciated saga ;-)

Thanks !!

mike  on May 2nd, 2009

Thanks mazebr

I’m still having too much fun with this stuff to give up just yet. The travel has slowed me down a little of the last couple of weeks, but there are still plenty of ideas I want to run through in tutorials :o)

Mike

bob  on May 2nd, 2009

Welcome back Mike, can’t wait to see the next tutorial :-}

Greg  on May 3rd, 2009

Hi Mike, I just went through all 5 videos in the last 2 days and I am amazed at the amount I’ve learned in such a short time. Thanks so much for making these! I can’t wait for number 6, and I hope you can make many more! :)

Greg

mike  on May 3rd, 2009

Cheers Greg.

I’ve been learning loads as well as I created these tutorials :o) and I’m glad your finding them useful. Not being able to find this material in a simple form myself drove me to create these.

Tutorial 6 is being created as I type so should be available soon with a bunch of other tutorials already planned :o)

Mike

sudhir  on May 5th, 2009

hi mike really good tutorial . i am looking for the good tutorial very long and that’s what i was looking for . thx mike desperately waiting for next tutorial

Leave a Comment