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
\$\begingroup\$

Here is a discussion that may be of some value.

\$\endgroup\$
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\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.