0
\$\begingroup\$

How can I make a game over pop-up like Flappy Bird in cocos2d-iphone 3?

I tried to add a new Scene, but it adds a new screen on the game, I just want a rectangle with some buttons inside it. I also search how to add multiple scene, but didn't find an example doing it.

\$\endgroup\$

2 Answers 2

3
\$\begingroup\$

Add a new Layer and put there a Menu object with the buttons you need. Make the layer visible when the game is over.

\$\endgroup\$
0
\$\begingroup\$

I don't have experience with the engine you're talking about, but can't you just add the 'game over' image as an object with transparent backgrounds, the places where they need to be transparent?

\$\endgroup\$

You must log in to answer this question.

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