5
\$\begingroup\$

How do I make animated menus with cocos2d, I just want to animate the buttons and not the entire scene. Effects I look for is flipping buttons (like the back of the button is the next menu), buttons that retract once selected and re appear with new button.

Basically what I ask for is cool effects between menu transitions.

\$\endgroup\$

1 Answer 1

0
\$\begingroup\$

Create a FiniteAction from a Sequence and make the sprite asociated to the button play it on touch. Use the different classes available for different effects.

For the back-to-back you need two buttons, one drawn on top of the other with different priorities. Make one do a FlipY while the other does a flipY reverse and change the drawing priority.

Retract is just a Scale or Skew effect.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .