DNESS / cocos2d-iphone

Automatically exported from code.google.com/p/cocos2d-iphone
1 stars 0 forks source link

CCFadeTo doesnt working as expected #1502

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
cocos version :2.1 stable

What steps will reproduce the problem?
1.
eg : a3 starts from 255 to 128. but sprite’s opacity value set in first two 
lines.

[Spr setOpacity:0.0f];
[Spr runAction:[CCFadeOut actionWithDuration:0.0f]];
id a3=[CCFadeTo actionWithDuration:5 opacity:128];
Spr runAction:a3];

What is the expected output? What do you see instead?
CCFadeTo doesnt start the current opacity value.it starts always from opaque 
(255) to the given value.
it is a bug.

What cocos2d version are you using ?
cocos version :2.1 stable

What iOS / Mac SDK are you using ?
IOS 6.1

Debug or Release ?
both

Which target device / target OS are you using ?
IPhone/IPad/IPod

iOS only: Does this happens on device ? or on the simulator ? or on both ?
both

Mac only: x86 or i386 ?
macbookpro

Please provide any additional information below.
team member must change the documentation or may fix this action (from current 
value to given . fixed sentence:..from matte to given value)

Original issue reported on code.google.com by halukcet...@gmail.com on 18 Aug 2013 at 10:09