The Most Hated Words — Game Over

Game Over Display — With flicker effect

Previously we already created a health display system. We can expand on this to display the most hated words: “Game over”.

Pseudocode

If currentHealth is zero
then display game over

Arcade old school Flicker effect

To rub it in, let’s make the text flicker. We start a coroutin in which we can either empty the text or we could disable and enable the game object.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store