NecoProject / Neco-Project

Neco Project repository
1 stars 0 forks source link

Invalid cooldown display #14

Closed sir4ur0n closed 10 years ago

sir4ur0n commented 10 years ago

When in game and using a skill which has cooldown, the cooldown effect is nice (gj Seb :D) but there seems to be a small part of the cooldown "dark" area that never leaves if you pay close attention 9see screenshot).

incorrect cooldown display

sebastientromp commented 10 years ago

Probably because of this: http://issuetracker.unity3d.com/issues/ui-image-fill-amount-breaks-when-value-is-set-to-0-through-script Once this bug is fixed, I'll change the code. Until then, we can try with a small value than 0.001f. (by the way, you should force the "aspect ratio" of your "Game" view to 16:9 or 16:10 to have nicer squares ^^)

sebastientromp commented 10 years ago

Confirmed. Setting the value too low eliminates this artifact, but then the behaviour is the same as if setting it directly to 0. Rejecting it for now