Geek Culture
Published in

Geek Culture

Unity Game Over Concepts Template

This is how I coded the game-over feature.

The basic idea behind all of this is to trigger a flow of events when the player dies. Namely:

  1. Detecting the player’s death
  2. Stopping all animations and triggering the Death Animation
  3. Disabling input and interaction with the game environment
  4. Displaying a message
  5. Reload a scene.

--

--

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
Daniele Quero, PhD

Daniele Quero, PhD

A professional developer with passion for game developing and skill-growing. A former Nuclear Physics Researcher who changed his life to pursue his dreams