Thanks for the reply Claudio. I have looked at that test files and they
were a great help. That is how I was able to load a tile layer. My problem
is loading an object layer. For example:
self.resource = cocos.tiles.load('map.tmx')
self.map = self.resource.get_resource('Tile Layer 1')
self.obj = self.resource.get_resource('Obj Layer 1')
When I try to load an object layer using the method above, I get a key
error. I can create multiple tile layers and load them fine, but I cannot
load object layers this way and could not find a method in the cocos2D API
that would do that.
--
You received this message because you are subscribed to the Google Groups
"cocos2d discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/cocos-discuss/-/H0s3d97_0KkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cocos-discuss?hl=en.