Sorry to resurrect this post, but I am trying to implement the files you posted(thanks! by the way) and I am almost there but I have run into a problem. I don't think that createFromCSV: is reading the file you provided properly.
I think I almost have this working. I can actually see one single tile on the screen but I cannot figure out why it doesn't read the rest of sample_map_data.csv
You posted your classes, but not how to use them / get them going. I spent some time inspecting the functions and this is how I tried using them:
NSString *thePath = [[NSBundle mainBundle] pathForResource:@"sampletiles" ofType:@"png"];
tileImageThing = [[UIImage alloc] initWithContentsOfFile:thePath];
tileMap = [SXCompiledTileMap alloc];
tileMap = [tileMap initWithViewportSize:CGSizeMake(340, 480) CSVData:@"sample_map_data.csv" tileSize:CGSizeMake(16, 16) andTileImage:tileImageThing];
Is that correct??
If you could please post the correct way to use your API I would really appreciate it!
Thank you so much for your help,