In this video, I show the viewer how to make a simple lighting effect that the player can turn on, which will count down a timer and then turn off by itself.
I also briefly explain lerps and show an example of how using a lerp for this effect can work.
Please note, I am still a student. I show here something I used in my own game level minus all the tweaking I did to it in said level.
If you need a more hands-on example, here is the file I created during this video: https://drive.google.com/file/d/1b08z...
0:00 intro
0:38 Creating dark layer
1:50 Creating the light
3:31 Have light follow player 1
5:36 Explaining lerps with example
11:33 Light at key press
13:50 Making the countdown
17:28 Adding in countdown text and icon
23:38 outro