Thread Tools Display Modes
05-30-16, 07:19 PM   #1
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
Animation Scaling issues

https://www.youtube.com/watch?v=BFNcpwFuoWI

I'm using an animation group to scale a frame, which has child frames and textures.
Instead of scaling the whole frame, its scaling each frame creating a very ugly look.

If I can't get this to work i'll have to use OnUpdate and SetScale instead.

Update: This is scaling every single texture, even the parts of the borders. Borders are made up of 4 parts and it scales each part. Looks like scale is hardcoded to deal with textures only and it will scale every single child texture.

Last edited by galvin : 05-30-16 at 10:35 PM.
 
05-31-16, 05:55 PM   #2
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
Well I fixed this by setting the animation key to a dummy frame. Then using onupdate on a scaleframe instead. This way I can scale the whole frame without any graphical glitches. In the onupdate function I use GetProgress to calculate the current scale.

Would of been nice if blizzard code worked nice with childframes when scaling animation.
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » Animation Scaling issues

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off