I’m trying to just scale X. I have a sprite node that I want to “squish” by a factor then bounce back in an interval of time. I can’t use the ResizeToHeight action in the timeline window because the action happens after a button is pressed.
I tried ScaleDown but that scales both X and Y.
And ScaleXDown is only for the mask.
Anyone have an idea? I could create some code but I thought the kit would have this feature.
A button is pressed and a rocket lifts off. I just wanted to give the rocket a little negative factor on the X so it gets a little squished and then back to normal. Kind of like showing a little power and force when taking off.
I tried the “X” setting but that only moves the node. And I would need to have a duration.
So there’s some examples in the Actions folder of already-named actions (like MoveUpAndDown). You can create the animated squish on anything you want just to test out the effect live, then select the actions you made in the timeline, right click and use Convert to Reference. Enter a name for it, and that will be used later when setting the properties for it.
For an example, search MoveUpAndDown in the demo kit’s property list.