cooldown [timer] - solved -

0 favourites
  • 4 posts
From the Asset Store
Tabata timer
$9.99 USD
Template for Tabata timer, fully documented in comments and video
  • today i found something weird and i couldn't fix it , i want to make something like :

    a skill bar with cooldown timer , there are many games use it like battleheart ,...

    the idea of the cooldown timer :

    is the when i click on the skill button it will goes a little dark or transparent and it keeps going back until it charged.

    my capx :

    https://dl.dropbox.com/u/90034817/scirra/cooldown.capx

    my problems with my capx :

    all of my buttons has the same timer while i want every button has its own time of cooldown like button1 will have 10sec and button2 will have 5sec of cooldown and so on ...

    also is there a way to make the cooldown fit with the mask and fit the button?? i don't know how to say but i want something that always keep fitting the button size so if i resized the button everything will work fine , i hope i explained my problem very well .. ^^

    last thing i want to know ... is this really called cooldown button ?? or it has another name ?? and what is it..

    thanks for reading, waiting your helps ^^

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You use a global variable for all the buttons, you'd need every button have their individual timer variable.

    I did a little variation of your capx here: dl.dropbox.com/u/19921470/cooldown.capx

    Note that this is not the best way to do things, I hope it helps you understand certain things you had overlooked like picking :)

  • thanks i liked it ^^

  • Thanks, Vee41.

    This is exactly what I was attempting to figure out.

    <img src="smileys/smiley1.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)