How to implement a “Game Over” screen

In this tutorial we will resurrect the Game Over logic from version 1.0 to work in newer versions. Over the past few years as new features have been added, some legacy stuff was removed in favor of new and more advanced features (respawn, save system, etc.), but it’s still possible to use the old system.

It’s actually quite simple:

1. Create a new widget and add 2 buttons to it

gameover_widget

 

2. Still on the widget, recreate this in the Blueprint Graph

gameover_widget_bp

 

3. Open BP_CharacterBase and disconnect the player died logic and tell it to show the widget instead

gameover_character

 

That’s it!