i had try the function $add(400080,%_time_elapsed_seconds%),but the function seems to support dec only.... not supprot hex color code....how to change color?
TurinsRevenge
Apr 30 2003, 02:13
QUOTE
i had try the function $add(400080,%_time_elapsed_seconds%),but the function seems to support dec only.... not supprot hex color code....how to change color?
If you're trying to make the color of the time_elapsed_seconds dark blue, do this:
QUOTE
400080%_time_elapsed_seconds%
You might also want to look at the Help in the title formatting section
zhangbao
Apr 30 2003, 05:48
hehe...I mean change the color of the chars in status bar while playing.... dynamicly change the color,not staticly...hehe...
You need to do something like colour= (current_time/(total_time/256)) but after a quick attack at it (being new to foobar scripting) it looks like the maths functions don't handle decimal places so there are errors creeping in. If anyone knows how to get it to handle propper float values then that would fix the range nicely.
Quick example for black-white fade in easy(ish) to read 5 seconds to write code heh but as I say, with the rounding errors you can get a 0.9999999999 discrepancy.