Escape the map without the radiation scale reaching the top if so the player dies
Hi,
- You’ll need UI (look for ways to fill
a rectangle like for a progress bar) - You’ll need timer-like code to fill
up the rectangle based on time - You’ll
need a boolean that will pass to true
if the ‘radiation scale’ is full and
then kill the player
If rectangle is filled → boolean is true → player is dead !
Now that you have the basics, you can try something and then post back your code if you have trouble debugging it !