OverviewFelgo 2 Support (Qt 5) › Game over scene

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #16395


    Hi, I’m doing a multi-level game, but I have a problem… I want to add a game over screen to my game. It would be that when my lifes are zero then the game over screen appear and this screen should have the score and two button, with one of them I could restart the levelĀ and with the other one I could quit the game.

    I was checking the example games but I couldn’t do it.

    I hope you can help me and say me how I can do it.


    Thank you a lot.


    Felgo Team

    Hi Patricia,

    this highly depends on how your game and your scenes and levels are handled at the moment. We feature a tutorial about one very common way of doing this:

    Wild guess for your game: You basically have 2 options, either introduce an own gameover scene or just an overlay inside your game scene. If your lives are zero (you can add this check wherever you are reducing your lives), you can then either switch the scenes completely of just show the overlay. Anyway you should stop your game logic at this point. If the users chooses to restart the level, you will have to reset your game logic and then either switch back to the game scene or hide the overlay depending on your implementation. If the users wants to quit, switch to the menu scene in any case.

    Again, this totally depends on how you implemented your game so far.



    Felgo Team
Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support