Fade to black on player death.

Screen fades to black with brief message before returning to the main menu on player death.
Oubliette cutscene
Canvas setup.
Fade_To_Black_img for the Canvas.
Text setup.
Game hierarchy window.
Oubliette timeline.
Variable assignment in Player script.
OnTriggerEnter2D method in Player script.
Green frames show the Box Collider 2Ds for the Oubliettes in the game.

Unity Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

⏰ IDO ON DareNFT: IN 3 HOURS ⏰

Nausicaa is Expanding – Read for more info!

Simplify DigitalOcean Domain Management with Terraform

DevOps for the business: enter ‘value stream management’ for enterprise software woes

Why are Data Warehouses evolving to Lake Houses? Part4 — Blend Relational and Big Data

Helm’s tiller in a multi-tenant kubernetes cluster

Decentralized Value Proposition Canvas — DPC

Autoscaling in Kubernetes

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
Hal Brooks

Hal Brooks

Unity Developer

More from Medium

Creating Attack Script and Collision Layers!

Adding Player Audio Effects

Creating An Advanced 2D Player Controller Without Any Unity Components! (Part 1)

Restart level in Unity