Jump to content
  • Advertisement
Sign in to follow this  

Round cooldown clock?

This topic is 1132 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to make round cooldown clocks you see so often in other games. For just a cooldown bar I would overlay a rectangle and just shrink that on the specific axis. But I have no clue how to do a round one, I can not use the masking technique as far as I am aware of. It should basically be the same for a square and round icon, when the the cooldown starts the image turns darker and like a pointer of a clock it starts brightening up parts of the image.


Any ideas how to accomplish this? I'm very curious if there is another way then having 36 image for each 10%. Or even more for a smooth effect. I'm using LibGDX but I'm ok with a more generic technique applicable in any language or framework.

Edited by menyo

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!