How to code HUD cooldown bars

1

Stats

3,434 visits, 5,411 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 16 May, 2014. Last updated 19 Feb, 2019

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.

  • 0 Comments

Want to leave a comment? Login or Register an account!