Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

cc.FadeOut always begins on opacity 255 #629

Closed
fleet-studio opened this Issue · 1 comment

3 participants

@fleet-studio

If you try to run a FadeOut with a Node which have opacity < 255, the action is performed from 255 to 0.
I'd have to use other action instead or it's an unexpected behaviour?

@dingpinglv

you can use cc.FadeTo.
example:
aSprite.setOpacity(200);
aSprite.runAction(cc.FadeTo.create(1.0,50));

@linshun linshun closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.