Know another language? Translate this tutorial!

How to code HUD cooldown bars

Favourite 22 favourites
Tutorial written by KyatricOriginally published on 16th, May 2014

I wrote another tutorial for GameDev TutsPlus

Here is the teaser for the article :
In many games, the player needs a visual display of the time remaining before being able to perform a certain action, such as casting a spell. Cooldown bars on the HUD or UI are a great way to present this information. In this article, complete with sample code and demos, you'll learn how to implement cooldown bars in your gameā€”no matter what engine you use.

All of the examples that illustrate the article are made in Construct2 and the capx files are commented and can be downloaded from the article.
(The "Download attachment" button on the right side of the article)

Notice it is aimed at intermediate users, but hopefully, beginners can find it useful to a certain extent. Nevertheless it's not a "follow the recipe" kind of article.

I hope you can find this article and the examples useful.

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Congratulations on finishing this tutorial!

Did you learn a lot from it? Share it now with your friends!

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.


Patriick 5,324 rep

A very nice article! I just found this on the site you published to and then got an email about it here XD lol

Good Job :)

- Regards, Patrick

Friday, May 16, 2014 at 8:28:24 PM
Tedg 9,893 rep

Thank you for share this :)

Friday, May 16, 2014 at 8:52:07 PM
AbelaNET 14.9k rep

Very cool article. Thanks for sharing.

Sunday, May 18, 2014 at 10:11:04 AM
jastrazz 3,535 rep

This is fantastic!

Thanks for sharing :D

Tuesday, May 20, 2014 at 5:26:19 PM
Madrasmadnes 2,537 rep

Thanks a lot for sharing this tutorial

Sunday, June 29, 2014 at 5:21:50 PM
KoolEcky 16.3k rep

@ Kyatric. This is another fantastic tutorial from the top shelf from you mate. Wonderful piece.

Saturday, November 26, 2016 at 10:06:29 AM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.