The animation is created out of frames that are cropped and have positions. Like this:
Code: Select all
image animation:
image1.png
pos (x1,y1)
0.2
image2.png
pos (x2,y3)
0.2
...
So, I think I need to create a fixed border around that animation so it can be zoomed correctly and currently it's unable to zoom because zoom doesn't consider the right new position coordinates. I could probably do this with Composite and the coordinates, but this would mean I would need to do it with every single frame.
I looked at the docs, but wasn't really able to find a suitable solution that is more elegant. Can anybody point me towards the right track? Thanks!
(I know that I could ask my graphics artist to create the animation frames in equal sizes, but that's not how our visual pipeline works, because all images are cropped by a script and the positions written into renpy code automatically and it would be a hassle to change the whole working pipeline just for this.).