How to code HUD cooldown bars

Stats

1,612 visits, 3,148 views

Translations

This tutorial hasn't been translated.

Tools

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

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