View Single Post
05-22-09, 02:36 PM   #6
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
Yes, it is possible to create many AnimationGroups for one region.
Unfortunately, it is not possible to delete them (or changing parent).
When you are creating a AG, it is forever link to that region. (erf Blizzard)

That mean, when closing windows, I can't use frame:Destroy() method without having strange behaviours and generating memory leak. That also mean, you must use reloadUI command. This is not acceptable.

By restricted only one AG, it is possible to manage and recycle it. So no need to do any reloadUI.

I have also created pools animation objects, you can aquired any animations and then release them in the pool.

I will release the new version soon, and you will be able to test the animation system. The engine is still open for any suggestions.
  Reply With Quote