0

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.

H. Pauwelyn
  • 805
  • 5
  • 16
  • 31

2 Answers2

3

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

Karlos Zafra
  • 413
  • 2
  • 11
0

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?

Martin Rohwedder
  • 199
  • 1
  • 11