Closed totallyeviljake closed 11 years ago
CCScaleTo(duration, scale) does not change ScaleX or ScaleY. if the ScaleX is set to zero and CCScaleTo runs, the NodeToParentTransform for the target will be invalid because it will still us ScaleX or ScaleY instead of Scale.
CCLayer foo = new CCLayer()
foo.ScaleX = 0f;
foo.RunAction(new CCScaleTo(0.75, 1f);
test: foo.ScaleX ... it's zero
user error.
CCScaleTo(duration, scale) does not change ScaleX or ScaleY. if the ScaleX is set to zero and CCScaleTo runs, the NodeToParentTransform for the target will be invalid because it will still us ScaleX or ScaleY instead of Scale.
CCLayer foo = new CCLayer()
foo.ScaleX = 0f;
foo.RunAction(new CCScaleTo(0.75, 1f);
test: foo.ScaleX ... it's zero