View Single Post
  #9  
Unread 03-18-2005, 09:59 AM
ger's Avatar
ger ger is offline
Steward of the Faithful
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
Default

Quote:
Originally Posted by depechenode
{snip} The bar, I will make a number count down if that is possible. Thing is, there are 15 segments for a 10 second count. Previous when the count was 30 secs would have been easy to do convert every segment = 2 seconds. With 10 seconds and 15 segments, I would have to convert them into decimaled numbers. But it still may be doable. {snip}
First, there are 16 segments (0-15) not 15, not that it matters for this purpose. The easiest way to change the timer to a countdown would be to create 16 images with opaque backgrounds, each with the apropriate number on it. Layer them on top of one another so that when 15 goes invisible 14 is revealed, when 14 goes invisible 13 is revealed, all the way down to 0.

Edit: Realized I hadn't addressed the tick/second differential. I honestly don't think there's any need to bother with normalizing the ticks so that they display seconds. Just count backwards from 15 to 0.
__________________

Last edited by ger : 03-18-2005 at 10:07 AM.
Reply With Quote