View Single Post
01-28-14, 06:00 AM   #18
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by zork View Post
What you are trying to do is sth I did in this mod ages ago:
http://www.wowinterface.com/download...07-Disco2.html

Basically a huge sprite frame that changes the SetTexCoord based on a value. But for me it did not work that well (not smooth enough and problems with smooth animation on bad FPS). Imo WoW can handle 1024x1024 just fine. >= 2048x2048 depends on your PC I guess.

But why would you create 300+ images nowadays and manipulate them manually in first place?

To create a full ring you need two 180° rings and 2 scrollframes. The only thing that is left is an Update function that changes the texture rotation. Plus if you are using animationgroups on your texture you do not have to do that either. You can just run a linear animation loop with an OnFinished function to fix your textures.

Lightspark and I have discussed that here: http://www.wowinterface.com/download...age=2#comments

I can set up an example for you if you like. Should be that hard to get a cooldown ring running.

p.s. I'm talking about animating a simple ring texture...if you are talking about rotating a full set of actionbuttons I'm out.
Thanks for replying. Actually I do rotate all Blizzard action buttons and all their contents to create a kind of 'bezier style action bar'.

Actually I didn't was aware of your scrollframe approach. Thanks for pointing this out. I'm not sure if this will work. I'll have to rotate the two scrollframes via an animation. Semlar stated here http://www.wowinterface.com/forums/s...ad.php?t=48798 that rotating a scrollframe would not work as expected. Didn't tried it though.

At the Moment I'm fine with the 'sprite' approach. It's working. And there are several other Problems to solve with my action bar approach. I'll get in touch with the cooldown problem to optimize it if everything else is working too.
  Reply With Quote