top of page
Search

[27/03/2021] Death Screen

  • Writer: Daniel Henshaw
    Daniel Henshaw
  • Mar 26, 2021
  • 1 min read

Updated: May 19, 2021

I created a Death Screen so that players can either Retry or quit to the Menu. This screen is activated when the player runs out of lives while racing. It was very simple to add because it is just UI set to disabled which is enabled when the player is out of lives.


In the script, I made it so that when the retry button is pressed it uses the Scene Manager to get the index of the active level then loads the level again. I've done it this way to make it easier to implement into new levels without needing to create new code.


Demo:


Trello:


 
 
 

Comentarios


bottom of page