Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17076

cocos2d-js cc.ActionTween

$
0
0

@fishyk1202 wrote:

I'm trying to use cc.actionTween to implement an animation.
*var resizeWidth = cc.actionTween(5,"width",scale9Sprite.width, scale9Sprite.width+500);
var seq = cc.spawn(resizeWidth, otherAnimation, cc.callFunc(function(){
cc.log("finish");
}, this));
scale9Sprite.runAction(seq);*

The code above is working in html5, but failed in android app. And i get this error: **

Assert failed: target must implement ActionTweenDelegate

**
Is this a bug in cocos2d-js?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>