Simple Graphic Based Time Bar Solution

I couldn’t sleep and was toying around with ideas on how to make an extremely simple graphic based Time Bar for one of my projects.

Here are a few screenshots for anyone to copy for their games.

to adjust the timing just make the width subtraction smaller. 1 goes by to quick. the best setting would be .05

when the timer ends it triggers the action, which for this example says game over.