Key an alpha fade in Cocos Editor?

I’m new to Cocos, and am approaching it from a Flash background so forgive me for any ‘off’ nomenclature.
Q: how do I key an alpha fade in Cocos Studio?

I am trying to animate a sprite in Cocos Studio with an alpha transition. I am able to make keys on the timeline and effect changes to scale and translation fine, but any attempts to modify the alpha slider in the UI appear to be global and not recorded to the key.

Example:

  • I place a sprite on the stage
  • I put keys on frame 1,5 and 10 of that sprite’s timeline
  • on key 5 I adjust the sprite’s scale to 200%
  • publishing shows a ‘bouncing’ sprite
  • I return to the Editor and adjust the alpha to 50% on frame 5
  • the sprite’s alpha is 50% across the entire scene, not fading from 100% > 50% > 100% as expected.

Just wondering if anyone else has had this issue or if I am alone - perhaps I need to install the software again?

You need to tick “Automatic frame recording”.

These is one of implicit stuff of CocosStudio. If you enable automatic frame recording you will be able to create keyframes for example for opacity or color by modifying corresponding values.

That worked!

Seems like a very odd necessity when you can manually set keys on the other attributes.
Regardless, thanks for the reply and solution!

Just to follow up - It looks like once you add the Opacity line to the Sprite’s properties on the timeline, you can turn off Auto frame recording and add/edit keys like normal.

You just can’t add Opacity as a keyable property without using Auto recording to begin with.