Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

Here is a discussion that may be of some value.

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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