Cocostudio frame curve doesn't work

I’m using cocostudio 2.2.6 & cocos2dx 3.4

I set frame curve such as BounceEaseOut, in to sprite’s position change and rotation.
All of the frame curve effect is working fine in Cocostudio.

But, When I publish and run the .csb file, All of that doesn’t work. There are just linear movements.
Why this is happening?

Here is my code.

scene_cut = CSLoader::createNode("Scene_cut.csb");
scene_cut->setAnchorPoint(Point::ANCHOR_MIDDLE);
scene_cut->setPosition(visibleSize / 2);
addChild(scene_cut, 10, "scene_cut");

onion_layer = scene_cut->getChildByName("onion_layer");
onion_layer_action =
			CSLoader::createTimeline("onion_move_layer.csb");

cocostudio::timeline::AnimationInfo board_come_aniinfo =
		onion_layer_action->getAnimationInfo("board_coming");

onion_layer_action->gotoFrameAndPlay(board_come_aniinfo.startIndex, board_come_aniinfo.endIndex, false);


onion_layer_action->setFrameEventCallFunc(CC_CALLBACK_0(SceneCut::boardMoveEnd, this));
onion_layer->runAction(onion_layer_action);

Please help me.

1 Like

I meet the same issues. It doesn’t work on any platform. The feature should be not implemented yet I think

try to use version 3.6 of cocos3d-x. everything should work =)

I knew it but thanks.
There is have some version chemi between cocos2dx and cocostudio.
It will be good to notify developers some information about version matching.
Why the cocos company(chukong) doesn’t do this?

Also, im using cocos2dx 3.6 in eclipse and windows. The problem is building time of cocos2d projects is too long.
Terribly long! It dealing about 20sec~ 3min each time when i building projects. Terrible.
When I making android app, it is demanding 10s on average.
I want to know this slow build of cocos2dx is just my pc’s problem.
How long do you take to build cocos2dx?

There is a bug. And this is my pull request for it. https://github.com/cocos2d/cocos2d-x/pull/11495. It has been merge into version 3.6 but for version before that you can try to apply this simple fix manually.