How to make countdown timer in Unity game | Unity 2D tutorial

preview_player
Показать описание
#UnityTutorial #SimpleUnityGame #unitytimer #unitycountdowntimer
In this video we create a countdown timer for simple Unity game. A player collects bonus and antibonus game objects which adds and reduces game time. If countdown timer reaches zero the game ends. Also we create a restart button so you can restart the current scene and play again if game is over. Scene manager will help us to reload the scene.

You are very welcome :-)

What this video is about and what it can be used for also: unity 2d tutorial,
How to make countdown timer in Unity game, C# countdown timer, c# countdown timer, countdown timer unity, restart scene unity, scene manager unity, scene management unity, reload scene unity, game over when countdown reaches zero unity, game over countdown unity, game over countdown, unity countdown timer, unity countdown timer c#, unity countdown before game start, unity level restart, unity reload current scene, learn unity fast, unity tutorial, how to make games with unity, unity how to make game, unity how to make 2d game, not as good as brackeys but good as well.
Рекомендации по теме
Комментарии
Автор

simple and fast... thanks for these kind of tutorials... really awesome

sazzadkhan
Автор

What part of the timer stops the game? It seems as if the game stops completely, yes? I love this tutorial.

stuartlightfoot
Автор

Its will be nice reference for me thanks ...

amedh
Автор

Nice! thank you very much. Love from Philippines <3

AzaiKang
Автор

very useful, that's what I was looking for.

amurlamur
Автор

Hi Alexander,

Many thanks for your video. It helped me to add a countdown timer in my game. I really appreciate it!
I was wondering if you could tell me how I could reset the score to zero value?

Although the video is quite old, I hope to get an answer from you. Cheers!!!

chrismaister
Автор

hallo Sir.. this tutorial helpful as always... I have request if you do not mind, could you make tutorial " How to pause time CountDown " ?? Thank you :)

KucingCore
Автор

Tqs for tutorial! but it would be nicer if we can download the package of this scene and code!

StaryzHelios
Автор

I've added this to a preexisting game that I created in Unity, except I have "pickup" objects instead. The restart button only resets the timer and doesn't place the "pickups" back in their original spots. Any ideas on how I can fix this?

emmalima
Автор

Hi...  Great Tutorial...  Just wondering something...  When I duplicated the Timer (TimeLeftScript) and have 2 Timers showing on the screen, the Speed of the Timers goes faster...  Double the speed.   Wondering if u know why?  Thanks...

fredmiller
Автор

Hasante Sana. what about winning when you pick last bonus.

msafiryom
Автор

Great Jop Sir. How to Winning After pick up last Coin

msafiryomy
Автор

Bro when i restart the scene, the timer stays at the 0 second. In addition, when we use static float and then gameover panel appears, the game is not working.

lolkillerbajanqles
welcome to shbcf.ru