#progress bar / "timeline" cd track?

48 messages · Page 1 of 1 (latest)

next warren
#

helllo - is here a way
to make something like a progression bar - left to right bar - tracking the cd of multiple spells on one bar
icon wandering right to left - and dissapears if it reaches 0= rdy again

fallen igloo
#

Check out the animations tab

#

The translate animation allows you to move the aura across the screen

next warren
#

so - the "base" is a progress bar?

fallen igloo
#

No, you'd just make icons

#

And animate them

next warren
#

so - slide from right?

fallen igloo
#

Don't think the default ones will do what you want, but try it out

#

You'd have to go custom likely

next warren
#

uhoh :<

fallen igloo
#

The custom animations aren't really complicated

next warren
#

ok - i found a solution to what i wanna do

is here a way to make spellicons like "blink"
appear and disappear

the only thing came in my mind would be something like
remaining duration = 1 - alpha 0
remaining duration = 0.9 aphla 100
etc - not even sure its able to "update" in 0.1 cycles ^^

next warren
#

yeah - like i said - i alrdy found a solution for the slide

fallen igloo
#

The flashing you can also just do with animations

#

I updated the aura to flash at the end

next warren
lyric jacinth
#

Sorry to resurrect this very very dead topic, but this appears to be almost exactly what I am trying to do with one of my own WAs. I have zero lua knowledge and would need help learning how to mess around with this to meet my needs if either of you would be so inclined.

lyric jacinth
#

@fallen igloo This is the one, I didn't notice you had left the thread.

fallen igloo
#

And what exactly are your needs then?

lyric jacinth
#

I have mostly figured it out just fiddling with the values, I managed to set it where I want, moving vertically, with a background bar.

#

It could use a few extra features.

#

Like the background bar actually having "time anchors" on it instead of the progress just being a smooth slide the whole time.

#

If you can point me in the right direction on how to accomplish that I am more than happy to attempt it myself, but I don't really know where to start. Also it works pretty fine as is if you don't feel like messing with it. I do appreciate your attentiveness, though.

fallen igloo
lyric jacinth
#

That's what I have right now.

#

I guess a better word for it would be dynamic progress on the bar? Like, anything over 90s just sits at the top of it, and then the halfway point would be 30s and then 5s would be the last 1/4 of the bars length.

fallen igloo
#

Yeah that's doable. I'm not at the PC anymore and about to head to bed, but I can send you a mock-up here tomorrow.

#

With some comments in the code if you want.

lyric jacinth
#

Alright. I would greatly appreciate that.

fallen igloo
#

here, that slides like you describe: over 90s cd it stays at the bottom, 90 to 30s it travels 50%, 30s to 5 it travels 25%, 5 to 0 it travels the last 25%

#

that should automatically create an icon for each cd you have, no need to make seperate trackers

lyric jacinth
#

I actually only want it to track specific CDs.

fallen igloo
#

that doesn't matter, just copy the animation code then

#

and the one part in actions -> on init about the bar length

lyric jacinth
#

Each icon will need the animation code then?

fallen igloo
#

yes

lyric jacinth
#

Thanks a ton! I'll get to testing it right away.

lyric jacinth
#

I assume there is no way to smooth the animation? The icons do jitter a bit while moving if the bar is smaller.

fallen igloo
#

The smoothness of the animation is tied solely to your frame rate

lyric jacinth
#

See how it kinda wobbles at the edges?

#

Not a big deal, was just curious if it could be done.