CCTMXLayer.js getTileAt bug at line 427, bad vertexZ value
in https://github.com/cocos2d/cocos2d-html5/blob/develop/cocos2d/tilemap/CCTMXLayer.js#L427
the value of vertexZ is always being 0, so when you use this method, the selected tile changes its original Z order.
here is the diff between the last version I used that worked, in this one it uses the _atlasIndexForExistantZ function that has been removed.
CCTMXLayer.js getTileAt bug at line 427, bad vertexZ value
in https://github.com/cocos2d/cocos2d-html5/blob/develop/cocos2d/tilemap/CCTMXLayer.js#L427
the value of vertexZ is always being 0, so when you use this method, the selected tile changes its original Z order.
here is the diff between the last version I used that worked, in this one it uses the
_atlasIndexForExistantZfunction that has been removed.