SpriteKitAlliance / SKAToolKit

Tool Kit to make Apple's Sprite Kit easier to use.
MIT License
61 stars 8 forks source link

TMX map property parsing limitation #25

Open NI92 opened 8 years ago

NI92 commented 8 years ago

Currently, unlike a .json map, a .tmx map is unable to display all properties of a single tile, but only the last one in the list.

Logging of the NSDictionary 'properties' was done in this manner:

SKASprite *tile = [_map tileAtPoint:touchedPoint andLayer:0]; NSLog(@"Properties: %@", tile.properties);

ghost commented 8 years ago

Thank you for the heads up we will look at the TMXParser in the near future