Hi everybody.
We have fixed a few bugs in the framework. So there are two patches that do that.
The patches were tested with cocos2d-x v2.2.1 and you can apply them using SVN.
NodeLoaderWithSkew.patch
Should be applied on cocos2dx_rootfolder.
The patch adds “skew” property to the list of animated properties in CCNodeLoader::parsePropTypeFloatXY
.
After that CCBAnimationManager
class can implement backward “skew” transformation when animation changes in CCBAnimationManager::runAnimationsForSequenceIdTweenDuration
.
TiledMapWithPolyline.patch
Should be applied on cocos2dx_root2dx\tilemap_parallax_nodesfolder.
Adds polyline object reading into CCTMXMapInfo::startElement
method. Polypine object read with respect to this subscription: https://github.com/bjorn/tiled/wiki/TMX-Map-Format#polyline, i.e. “same placement definition as a polygon object”
It would be great if these fixes were included in the next cocos2d-x version.
NodeLoaderWithSkew.patch.zip (0.8 KB)
TiledMapWithPolyline.patch.zip (0.9 KB)